Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
98fa929d
Commit
98fa929d
authored
Dec 30, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logger: Allow log-verbose to override --verbose.
parent
6c9ba4dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
modules/misc/logger.c
modules/misc/logger.c
+10
-2
No files found.
modules/misc/logger.c
View file @
98fa929d
...
@@ -130,6 +130,10 @@ static const char *const mode_list_text[] = { N_("Text"), "HTML"
...
@@ -130,6 +130,10 @@ static const char *const mode_list_text[] = { N_("Text"), "HTML"
"will be forwarded. Available choices are \"user\" (default), \"daemon\", " \
"will be forwarded. Available choices are \"user\" (default), \"daemon\", " \
"and \"local0\" through \"local7\".")
"and \"local0\" through \"local7\".")
#define LOGVERBOSE_TEXT N_("Verbosity")
#define LOGVERBOSE_LONGTEXT N_("Select the verbosity to use for log or -1 to " \
"use the same verbosity given by --verbose.")
/* First in list is the default facility used. */
/* First in list is the default facility used. */
#define DEFINE_SYSLOG_FACILITY \
#define DEFINE_SYSLOG_FACILITY \
DEF( "user", LOG_USER ), \
DEF( "user", LOG_USER ), \
...
@@ -171,6 +175,8 @@ vlc_module_begin ()
...
@@ -171,6 +175,8 @@ vlc_module_begin ()
SYSLOG_FACILITY_LONGTEXT
,
true
)
SYSLOG_FACILITY_LONGTEXT
,
true
)
change_string_list
(
fac_name
,
fac_name
,
0
)
change_string_list
(
fac_name
,
fac_name
,
0
)
#endif
#endif
add_integer
(
"log-verbose"
,
-
1
,
NULL
,
LOGVERBOSE_TEXT
,
LOGVERBOSE_LONGTEXT
,
false
)
add_obsolete_string
(
"rrd-file"
)
add_obsolete_string
(
"rrd-file"
)
...
@@ -363,7 +369,9 @@ static void Close( vlc_object_t *p_this )
...
@@ -363,7 +369,9 @@ static void Close( vlc_object_t *p_this )
static
void
Overflow
(
msg_cb_data_t
*
p_sys
,
msg_item_t
*
p_item
,
unsigned
overruns
)
static
void
Overflow
(
msg_cb_data_t
*
p_sys
,
msg_item_t
*
p_item
,
unsigned
overruns
)
{
{
VLC_UNUSED
(
overruns
);
VLC_UNUSED
(
overruns
);
int
verbosity
=
var_CreateGetInteger
(
p_sys
->
p_intf
,
"verbose"
);
int
verbosity
=
var_CreateGetInteger
(
p_sys
->
p_intf
,
"log-verbose"
);
if
(
verbosity
==
-
1
)
verbosity
=
var_CreateGetInteger
(
p_sys
->
p_intf
,
"verbose"
);
int
priority
=
0
;
int
priority
=
0
;
switch
(
p_item
->
i_type
)
switch
(
p_item
->
i_type
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment