summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-02-15 11:06:15 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-02-15 11:06:15 +0100
commit49c2bc380c34c346dafffe5c5a4059fa2f604680 (patch)
tree8aa2070b59bb78f8d03e3fa64f2037f56cb09e85 /runtime/rsyslog.h
parentf3d354da3e373f9c4890a78e5274a6ba02f1c8cb (diff)
downloadrsyslog-49c2bc380c34c346dafffe5c5a4059fa2f604680.tar.gz
rsyslog-49c2bc380c34c346dafffe5c5a4059fa2f604680.tar.xz
rsyslog-49c2bc380c34c346dafffe5c5a4059fa2f604680.zip
improved error reporting for $WorkDirectory
non-existance and other detectable problems are now reported, and the work directory is NOT set in this case
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 0402f159..78e61bcb 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -340,6 +340,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_ERR_HDFS_WRITE = -2178, /**< error writing to HDFS */
RS_RET_ERR_HDFS_OPEN = -2179, /**< error during hdfsOpen (e.g. file does not exist) */
RS_RET_FILE_NOT_SPECIFIED = -2180, /**< file name not configured where this was required */
+ RS_RET_ERR_WRKDIR = -2181, /**< problems with the rsyslog working directory */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */