Output the error messages even still to stderr despite syslog being on.
[captive.git] / 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)