diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-09-02 19:41:06 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-08 19:26:27 -0400 |
commit | 13cf6a9c9d37a14ff46f6d512aab402616359570 (patch) | |
tree | 81b8dae12607b7df36c422191575c1a99009c060 /common/elapi/elapi_log.c | |
parent | c5461b548d303e6e66e20048544814338b46efb5 (diff) | |
download | sssd-13cf6a9c9d37a14ff46f6d512aab402616359570.tar.gz sssd-13cf6a9c9d37a14ff46f6d512aab402616359570.tar.xz sssd-13cf6a9c9d37a14ff46f6d512aab402616359570.zip |
ELAPI Adding file provider and CSV format
This patch creates the infrastructure for
logging of the event from the top of the interface
to the bottom. It is a start. A lot of functionality
is left aside.
The attempt of this patch is pass event from caller
of the ELAPI interface via targets to sinks
then to providers and do serialization creating
entity that is ready to be written to a file.
It also implements more specific provider related
configuration parameters.
Also it addresses couple suggestions that were
brought up against previous patch.
ELAPI Correcting issues
This patch addresses the issues found during the
review of the previous patches and addresses
ticket #166.
Diffstat (limited to 'common/elapi/elapi_log.c')
-rw-r--r-- | common/elapi/elapi_log.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/common/elapi/elapi_log.c b/common/elapi/elapi_log.c index 4787fd3c0..67f6e3868 100644 --- a/common/elapi/elapi_log.c +++ b/common/elapi/elapi_log.c @@ -38,24 +38,6 @@ /* Pointer to default global dispatcher */ struct elapi_dispatcher *global_dispatcher = NULL; -/* Deafult sink names */ -char remote_sink[] = "remote"; -char altremote_sink[] = "altremote"; -char syslog_sink[] = "syslog"; -char db_sink[] = "db"; -char file_sink[] = "file"; -char failover_sink[] = "failover"; -char stderr_sink[] = "stderr"; - -/* Deafult sink list */ -char *default_sinks[] = { remote_sink, - altremote_sink, - syslog_sink, - db_sink, - file_sink, - failover_sink, - stderr_sink, - NULL }; /* Per review I was told to hard cord this name. So be it... */ #define ELAPI_CONFIG_FILE_NAME "elapi.conf" |