summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-06-09 15:37:00 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-06-09 15:37:00 +0200
commit8fbcea483710faae468ecf0ba706adc7e60ed41d (patch)
treebf69b277de872fc88a53fd2a43b9b21f48efd90d /action.c
parent395660f462c62029f76b99f73bd9a424a8cf73a2 (diff)
downloadrsyslog-8fbcea483710faae468ecf0ba706adc7e60ed41d.tar.gz
rsyslog-8fbcea483710faae468ecf0ba706adc7e60ed41d.tar.xz
rsyslog-8fbcea483710faae468ecf0ba706adc7e60ed41d.zip
main msg q consumer now preprocesses messages before doing rule processing
things like ACL check and message parsing. This leads to a greater level of concurrent processing. Beware, though, that this commit duplicates some messages. May be a regression from this or an earlier commit. I will soon sort out.
Diffstat (limited to 'action.c')
-rw-r--r--action.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/action.c b/action.c
index b8751c63..cae86c29 100644
--- a/action.c
+++ b/action.c
@@ -1140,20 +1140,8 @@ static rsRetVal setActionQueType(void __attribute__((unused)) *pVal, uchar *pszT
}
-/* rgerhards 2004-11-09: fprintlog() is the actual driver for
- * the output channel. It receives the channel description (f) as
- * well as the message and outputs them according to the channel
- * semantics. The message is typically already contained in the
- * channel save buffer (f->f_prevline). This is not only the case
- * when a message was already repeated but also when a new message
- * arrived.
- * rgerhards 2007-08-01: interface changed to use action_t
- * rgerhards, 2007-12-11: please note: THIS METHOD MUST ONLY BE
- * CALLED AFTER THE CALLER HAS LOCKED THE pAction OBJECT! We do
- * not do this here. Failing to do so results in all kinds of
- * "interesting" problems!
- * RGERHARDS, 2008-01-29:
- * This is now the action caller and has been renamed.
+/* This function builds up a batch of messages to be (later)
+ * submitted to the action queue.
*/
rsRetVal
actionWriteToAction(action_t *pAction)