aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-03-08 23:32:30 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-16 14:53:23 +0100
commit181f9c85f037cc4d0a603dc314382b3ffaa961f0 (patch)
treeb485cb5fe072be104c4473b19509dd5ccc14ee25 /src/main.c
parentcdd339f8024af8088d94f0ffde78beef5a0c998d (diff)
log: only include LOC and method name in debug logs if running with --debug
If the modem is started with --log-level=DEBUG, they will not be shown.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 543a3eae..bf5f27b5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -115,6 +115,7 @@ main (int argc, char *argv[])
mm_context_get_log_file (),
mm_context_get_timestamps (),
mm_context_get_relative_timestamps (),
+ mm_context_get_debug (),
&err)) {
g_warning ("Failed to set up logging: %s", err->message);
g_error_free (err);