12 Commits

Author SHA1 Message Date
PascalWithopf
29c9fb1f9a codestyle: reduce line length to 120
lines are still checked for a length of 125 because
these are just some of the lines
2017-12-21 17:09:32 +01:00
Rainer Gerhards
9a24eceb94 core: make errmsg functionnality available via non-object interface
the object-like interface is no longer required for e.g. AIX, so we
can also support the easier to use (and slightly faster) traditional
C calling convention.
2017-02-08 15:24:28 +01:00
Pascal Withopf
b63a6b9010 codestyle: line length adjusted 2017-01-17 08:54:37 +01:00
Rainer Gerhards
597894e768 plumbing to re-instantiate the $AbortOnUncleanConfig functionality
This makes rsyslog abort if any error message occured during config
processing. Howerver, this is too strict, because some messages are
really just warnings (like queue sizes too low) and do not cause
an unclean config. Nevertheless, these warnings are logged as errors
currently. So a full review and cleanup of emitted error messages
is necessary.

see also https://github.com/rsyslog/rsyslog/issues/78
2015-02-24 13:05:49 +01:00
Rainer Gerhards
a42da69a72 nit: update copyright dates 2013-11-29 09:49:42 +01:00
Rainer Gerhards
89060ecec2 introduce new function to emit warning and other non-error messages
also refactor the error message subsystem a bit
2013-11-29 09:44:58 +01:00
Rainer Gerhards
1ea869ec54 use const keyword at (some) appropriate places 2013-11-29 09:16:03 +01:00
Rainer Gerhards
18e60f46a1 Merge branch 'v4-stable' into v5-stable
Conflicts:
	runtime/debug.h
	runtime/obj.c
	runtime/parser.h
	runtime/wti.h
2012-01-16 16:14:30 +01:00
Rainer Gerhards
f6dea36394 runtime license change 2012-01-16 12:39:01 +01:00
Dražen Kačar
7052d3c378 bugfix: fixed compile problem due to empty structs
this occured only on some platforms/compilers. thanks to Dražen Kačar
for the fix

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2011-02-16 18:20:59 +01:00
Rainer Gerhards
3f6c73a8b7 added (internal) error codes to error messages
Also added redirector to web description of error codes
closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
2008-06-27 12:52:45 +02:00
Rainer Gerhards
8f8f65abb6 moved files to the runtime
there are still some files left which could go into the
runtime, but I think we will delete most of them once we
are done with the full modularization.
2008-04-16 10:26:54 +02:00