diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-05-02 16:01:13 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-05-02 16:01:13 +0200 |
commit | 1d7ba92156f5a5ac1783df563ec3344fdf8365df (patch) | |
tree | 87c8ea03caf06b5dedb4ce65e13db1e280c449cb /runtime/rsconf.c | |
parent | 45dc0db51e78d3d6ef296f0cfd7a7a775e91415c (diff) | |
download | rsyslog-1d7ba92156f5a5ac1783df563ec3344fdf8365df.tar.gz rsyslog-1d7ba92156f5a5ac1783df563ec3344fdf8365df.tar.xz rsyslog-1d7ba92156f5a5ac1783df563ec3344fdf8365df.zip |
better debug instrumentation --> input thread names used for reporting
Diffstat (limited to 'runtime/rsconf.c')
-rw-r--r-- | runtime/rsconf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c index ed61e65e..460e69d6 100644 --- a/runtime/rsconf.c +++ b/runtime/rsconf.c @@ -688,7 +688,8 @@ runInputModules(void) DBGPRINTF("running module %s with config %p\n", node->pMod->pszName, node); bNeedsCancel = (node->pMod->isCompatibleWithFeature(sFEATURENonCancelInputTermination) == RS_RET_OK) ? 0 : 1; - thrdCreate(node->pMod->mod.im.runInput, node->pMod->mod.im.afterRun, bNeedsCancel); + thrdCreate(node->pMod->mod.im.runInput, node->pMod->mod.im.afterRun, bNeedsCancel, + (node->pMod->cnfName == NULL) ? node->pMod->pszName : node->pMod->cnfName); } node = module.GetNxtCnfType(runConf, node, eMOD_IN); } |