scottm at openscg
Apr 30, 2012, 7:21 PM
Post #1 of 1
Question mark (?) in %msg%
I'm using rsyslog to deal with the output from a rather large code-base
right now (log4j's syslog appender). I am forwarding messages to a remote
server and using templates to dynamically generate the filenames on my
server (/log/YYYYMMDD/.....). I have a lot of different components, so
they are all using the same selector, but are differentiated by their
The problem I'm having is that whenever I get a question mark '?'
character in the actual %msg% ( I also tried %rawmsg% ), it does the
*) in the main log file
*) in the same dir (by hostname )
- a new file that is '....TextAfterMark'
- this file contains the rest of the line
I tried the latest stable release (5.8.10) and it still seems to do this
same thing, I'm not sure if this is a bug, or just bad configuration on my
:fromhost-ip , !isequal , "127.0.0.1" ?DynFile
It's obvious to me that the '?' has significance here, Just wondering if
there is any way around it?
rsyslog mailing list
What's up with rsyslog? Follow https://twitter.com/rgerhards