Hi, > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:rsyslog- > [EMAIL PROTECTED] On Behalf Of Scott Phuong > Sent: Wednesday, July 02, 2008 5:17 AM > To: [email protected] > Subject: [rsyslog] configuration file question and error message > question > > Hi, > > I am using rsyslog 3.16.2. > > When I specify the script of command to issue when a log reaches its > max size, how do I specify the command with parameters?
The command can have EXACTLY one parameter. > This is what I > did: > > $outchannel ch_common,/var/log/messages/1048675,\ > mv -f /var/log/messages /var/log/messages.0 > > Do I use a quotation mark or a single quote or something else? Your > help says to specify a script but does that line except a single word > for the script, meaning it can not take parameters? To clarify, if I > have a script that is named rotate and I want to use it for multiple > logs, I would like to say "rotate /var/log/message". Is this possible? Yes, but you can not specify more than one parameter. The outchannel code is scheduled to be superseded by something new that works along the lines of the regular log file (just with an additional parameter). However, until this is done, we need to live with the current restriction. > > > I am getting this error message: > rsyslogd: omfwd.c:318: doTryResume: Assertion `0' failed. > > What does this mean? Something goes really wrong ;) I have checked that assertion and there seems to be some problem with the retry log. Can you reproduce it? If so, can you provide a full debug log (run interactively with -dn option)? > > Thanks for your help!! I really like how rsyslogd has a lot of > configurable properties. :) Rainer > > Scott > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog

