cbc005cd63523ca7d772c9f0c7ea9a4817c2c07e |
|
27-Aug-2014 |
Sumit Bose <sbose@redhat.com> |
sss_log: fix handling of variable argument lists
SSSD has two public calls to send messages to syslog sss_log() and
sss_log_ext() which both expect besides other arguments a printf format
string and a variable list of arguments depending on the format.
Currently sss_log() calls sss_log_ext() internally after calling
va_start(ap, format) and hands over ap as the last argument. This does
not work because there is a difference between a varying number of
arguments and a va_list type.
To fix this I added a new private call which expects a va_list as the
last argument and is called by sss_log() and sss_log_ext() after calling
va_start().
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
588f8fbe74e66cc015f185a5b798173d320a65b5 |
|
01-Jul-2014 |
Yassir Elley <yelley@redhat.com> |
AD-GPO: Add support for gpo permissive mode
Reviewed-by: Sumit Bose <sbose@redhat.com> |
5a065092ef744540f57e3e6e72210fbe17a1e2f3 |
|
07-Nov-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
UTIL: Free log message when using journald |
d6837823b0a002c9c8afb48caf3eeda5cb73f173 |
|
18-Sep-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
BE: Log domain name to journald if available
If the SSSD is compiled with journald support, then all sss_log()
statements will include a new field called "SSSD_DOMAIN" that includes
the domain name. Filtering only messages from the single domain is then
as easy as:
# journalctl SSSD_DOMAIN=foo.example.com |
77c0d1f6074059dafd2293f9c42ea0f9d60f8aad |
|
18-Sep-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
Add journald support |
5c705137ea853613318a29f0cd760688ab4daef3 |
|
09-Jul-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Add sss_log() function
Right now, this log function writes to the syslog. In the future,
it could be modified to work with ELAPI or another logging API. |