|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
_______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev
By the way, the actual suffixPattern can be used to achieve the tag behavior. The string before the first space in the suffix pattern will be interpreted as the log tag when the message is received in syslog/rsyslog
The problem with that approach is that the actual prefix with the severity and date appends a "%nopex" but without a final space. When a suffix pattern starts with a letter in the [a-zA-Z] range, the logback parser will interpret the %noexp with the next string, resulting in something like this:
suffixPattern: test
message received in rsyslog: %PARSER_ERROR[nopextest]
I ll try to make a patch that inserts the tag configuration and fix this issue