Commit 8308fdd2 authored by Jean-Paul Saman's avatar Jean-Paul Saman

logger: allow libvlc programs to be more verbose (webplugins)

parent dfc45a6a
...@@ -167,16 +167,20 @@ vlc_module_begin () ...@@ -167,16 +167,20 @@ vlc_module_begin ()
add_file( "logfile", NULL, NULL, add_file( "logfile", NULL, NULL,
N_("Log filename"), N_("Specify the log filename."), false ) N_("Log filename"), N_("Specify the log filename."), false )
change_safe()
add_string( "logmode", "text", NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT, add_string( "logmode", "text", NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT,
false ) false )
change_string_list( mode_list, mode_list_text, 0 ) change_string_list( mode_list, mode_list_text, 0 )
change_safe()
#ifdef HAVE_SYSLOG_H #ifdef HAVE_SYSLOG_H
add_string( "syslog-facility", fac_name[0], NULL, SYSLOG_FACILITY_TEXT, add_string( "syslog-facility", fac_name[0], NULL, SYSLOG_FACILITY_TEXT,
SYSLOG_FACILITY_LONGTEXT, true ) SYSLOG_FACILITY_LONGTEXT, true )
change_string_list( fac_name, fac_name, 0 ) change_string_list( fac_name, fac_name, 0 )
change_safe()
#endif #endif
add_integer( "log-verbose", -1, NULL, LOGVERBOSE_TEXT, LOGVERBOSE_LONGTEXT, add_integer( "log-verbose", -1, NULL, LOGVERBOSE_TEXT, LOGVERBOSE_LONGTEXT,
false ) false )
change_safe()
add_obsolete_string( "rrd-file" ) add_obsolete_string( "rrd-file" )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment