Output the error messages even still to stderr despite syslog being on.
authorlace <>
Tue, 27 Dec 2005 11:48:04 +0000 (11:48 +0000)
committerlace <>
Tue, 27 Dec 2005 11:48:04 +0000 (11:48 +0000)
src/libcaptive/client/init.c

index 43eb22b..4626942 100644 (file)
@@ -250,6 +250,8 @@ int priority;
                        (!(log_level&G_LOG_FLAG_RECURSION) ? "" : "RECURSION: "),
                        (!(log_level&G_LOG_FLAG_FATAL    ) ? "" : "FATAL: "),
                        message);
+
+       g_log_default_handler(log_domain,log_level,message,user_data);
 }
 
 void captive_log_init(const struct captive_options *captive_options)