summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-26 16:01:36 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-28 09:39:41 +0300
commitbf265f7494edf4d831d52f0333702a01fb45b612 (patch)
tree8f222ddaa42357b65ca150837eccf0790222f02d /unit
parentfc6c9684cc5a63c3d03aed3df201e89b4257f368 (diff)
downloadconnman-bf265f7494edf4d831d52f0333702a01fb45b612.tar.gz
connman-bf265f7494edf4d831d52f0333702a01fb45b612.tar.bz2
connman-bf265f7494edf4d831d52f0333702a01fb45b612.zip
log: Disable stack trace from command line
Add a '--nobacktrace' command line switch to let the system handle stack traces. The default is to let ConnMan handle them as before
Diffstat (limited to 'unit')
-rw-r--r--unit/test-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit/test-nat.c b/unit/test-nat.c
index 578ff3eb..4a48461d 100644
--- a/unit/test-nat.c
+++ b/unit/test-nat.c
@@ -147,7 +147,7 @@ int main(int argc, char *argv[])
g_test_init(&argc, &argv, NULL);
- __connman_log_init(argv[0], "*", FALSE);
+ __connman_log_init(argv[0], "*", FALSE, TRUE);
__connman_iptables_init();
__connman_nat_init();
@@ -159,7 +159,7 @@ int main(int argc, char *argv[])
__connman_nat_cleanup();
__connman_iptables_cleanup();
- __connman_log_cleanup();
+ __connman_log_cleanup(TRUE);
return err;
}