From: Pierre-Yves Ritschard Date: Fri, 25 Jul 2014 14:28:51 +0000 (+0200) Subject: small typos X-Git-Tag: collectd-5.5.0~288^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0c81505b9146319ff1503ed22c214c4198377513;p=collectd.git small typos --- diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 2a79dc45..a91e2ba4 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -52,7 +52,7 @@ @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile -@LOAD_PLUGIN_LOG_LOGSTASH@LoadPlugin logfile +@LOAD_PLUGIN_LOG_LOGSTASH@LoadPlugin log_logstash # # LogLevel @DEFAULT_LOG_LEVEL@ @@ -61,7 +61,7 @@ # PrintSeverity false # -# +# # LogLevel @DEFAULT_LOG_LEVEL@ # File "@localstatedir@/log/@PACKAGE_NAME@.json.log" # diff --git a/src/log_logstash.c b/src/log_logstash.c index 14e157b5..6cb5b0a1 100644 --- a/src/log_logstash.c +++ b/src/log_logstash.c @@ -36,7 +36,7 @@ # define HAVE_YAJL_V2 1 #endif -#define DEFAULT_LOGFILE LOCALSTATEDIR"/log/collectd.json.log" +#define DEFAULT_LOGFILE LOCALSTATEDIR"/log/"PACKAGE_NAME".json.log" #if COLLECT_DEBUG static int log_level = LOG_DEBUG;