summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-05-03 12:27:49 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-05-03 12:27:49 +0200
commit1bfaf4ac06e82c0e4008a2b851043a09aee1a2e3 (patch)
tree135a4da70f0efb7bb7710c6b01591f9dff14b708 /runtime/rsyslog.h
parent415b95cf453403f726f654cbc03ef3984446a870 (diff)
downloadrsyslog-1bfaf4ac06e82c0e4008a2b851043a09aee1a2e3.tar.gz
rsyslog-1bfaf4ac06e82c0e4008a2b851043a09aee1a2e3.tar.xz
rsyslog-1bfaf4ac06e82c0e4008a2b851043a09aee1a2e3.zip
better handling of queue i/o errors in disk queues.
This is kind of a bugfix, but a very intrusive one, thus it goes into the devel version first. Right now, "file not found" is handled and leads to the new emergency mode, in which disk action is stopped and the queue run in direct mode. An error message is emited if this happens.
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 d63dbe4f..d7f785f2 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -342,6 +342,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
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 */
+ RS_RET_ERR_QUEUE_EMERGENCY = -2182, /**< some fatal error caused queue to switch to emergency mode */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */