diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-07-29 14:55:44 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-07-29 14:55:44 +0200 |
commit | c3c385c63b627d559bdd7a7a710c543e9c16a20a (patch) | |
tree | 53819fdce1c8cb525c0562993020a8db3cc9e588 /tests/cfg3.cfgtest | |
parent | d2feb7063e73938c05b76862ea2e211cc09b30fe (diff) | |
download | rsyslog-c3c385c63b627d559bdd7a7a710c543e9c16a20a.tar.gz rsyslog-c3c385c63b627d559bdd7a7a710c543e9c16a20a.tar.xz rsyslog-c3c385c63b627d559bdd7a7a710c543e9c16a20a.zip |
added testbed for config errors and fixed a bug
- bugfix: no error was reported if the target of a $IncludeConfig
could not be accessed.
- added testbed for common config errors
Diffstat (limited to 'tests/cfg3.cfgtest')
-rw-r--r-- | tests/cfg3.cfgtest | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cfg3.cfgtest b/tests/cfg3.cfgtest new file mode 100644 index 00000000..68bc17d4 --- /dev/null +++ b/tests/cfg3.cfgtest @@ -0,0 +1,5 @@ +rsyslogd: error accessing config file or directory 'file-does-not-exist': No such file or directory [try http://www.rsyslog.com/e/2040 ] +rsyslogd: the last error occured in ./cfg3.testin, line 1 +rsyslogd: CONFIG ERROR: there are no active actions configured. Inputs will run, but no output whatsoever is created. [try http://www.rsyslog.com/e/2103 ] +rsyslogd: EMERGENCY CONFIGURATION ACTIVATED - fix rsyslog config file! +rsyslogd: End of config validation run. Bye. |