diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-09-26 16:01:36 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-09-28 09:39:41 +0300 |
commit | bf265f7494edf4d831d52f0333702a01fb45b612 (patch) | |
tree | 8f222ddaa42357b65ca150837eccf0790222f02d /unit | |
parent | fc6c9684cc5a63c3d03aed3df201e89b4257f368 (diff) | |
download | connman-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.c | 4 |
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; } |