summaryrefslogtreecommitdiffstats
path: root/src/util/sss_log.c
Commit message (Collapse)AuthorAgeFilesLines
* sss_log: fix handling of variable argument listsSumit Bose2014-08-271-9/+19
| | | | | | | | | | | | | | | | 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>
* AD-GPO: Add support for gpo permissive modeYassir Elley2014-07-011-4/+13
| | | | Reviewed-by: Sumit Bose <sbose@redhat.com>
* UTIL: Free log message when using journaldJakub Hrozek2013-11-071-0/+2
|
* BE: Log domain name to journald if availableJakub Hrozek2013-09-181-0/+7
| | | | | | | | 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
* Add journald supportJakub Hrozek2013-09-181-0/+35
|
* Add sss_log() functionStephen Gallagher2010-07-091-0/+69
Right now, this log function writes to the syslog. In the future, it could be modified to work with ELAPI or another logging API.