From 5aed7f6775777b2a6166d6eddffaa976eb4fac8b Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 24 Sep 2009 17:50:13 +0200 Subject: Added extra parameter to eurephia_log_init() to set log ident for syslog --- plugin/eurephia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin') diff --git a/plugin/eurephia.c b/plugin/eurephia.c index f93ee81..db7607f 100644 --- a/plugin/eurephia.c +++ b/plugin/eurephia.c @@ -186,10 +186,10 @@ eurephiaCTX *eurephiaInit(const char **argv) if( (logfile == NULL) || (strcmp(logfile, "openvpn:") == 0) ) { // If no logfile is given, or openvpn: is given, log to stderr which OpenVPN will // take care of - eurephia_log_init(ctx, "stderr:", loglvl); + eurephia_log_init(ctx, "eurephia-auth", "stderr:", loglvl); } else { // If another log file is given, process that - eurephia_log_init(ctx, logfile, loglvl); + eurephia_log_init(ctx, "eurephia-auth", logfile, loglvl); } // Load the database driver -- cgit