projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a71de1f
)
Move logging to tr_internal
author
Sam Hartman
<hartmans@debian.org>
Tue, 17 Mar 2015 19:18:48 +0000
(15:18 -0400)
committer
Sam Hartman
<hartmans@debian.org>
Tue, 17 Mar 2015 19:18:48 +0000
(15:18 -0400)
common/tr_config.c
patch
|
blob
|
history
diff --git
a/common/tr_config.c
b/common/tr_config.c
index
51999c4
..
cc352a0
100644
(file)
--- a/
common/tr_config.c
+++ b/
common/tr_config.c
@@
-120,7
+120,7
@@
static TR_CFG_RC tr_cfg_parse_internal (TR_CFG *trc, json_t *jcfg) {
}
}
- if (NULL != (jlog = json_object_get(j
cfg
, "logging"))) {
+ if (NULL != (jlog = json_object_get(j
int
, "logging"))) {
if (NULL != (jlogthres = json_object_get(jlog, "log_threshold"))) {
if (json_is_string(jlogthres)) {
trc->internal->log_threshold = str2sev(json_string_value(jlogthres));