mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 09:20:41 +01:00
omuxsock: clearer error message
This commit is contained in:
parent
528180be08
commit
2e40f71387
@ -4,7 +4,7 @@
|
||||
* NOTE: read comments in module-template.h to understand how this file
|
||||
* works!
|
||||
*
|
||||
* Copyright 2010-2013 Adiscon GmbH.
|
||||
* Copyright 2010-2015 Adiscon GmbH.
|
||||
*
|
||||
* This file is part of rsyslog.
|
||||
*
|
||||
@ -187,7 +187,7 @@ CODESTARTsetModCnf
|
||||
if(!strcmp(modpblk.descr[i].name, "template")) {
|
||||
loadModConf->tplName = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
|
||||
if(cs.tplName != NULL) {
|
||||
errmsg.LogError(0, RS_RET_DUP_PARAM, "omuxsock: warning: default template "
|
||||
errmsg.LogError(0, RS_RET_DUP_PARAM, "omuxsock: default template "
|
||||
"was already set via legacy directive - may lead to inconsistent "
|
||||
"results.");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user