regex, contains and startswith not working for syslogtag with a value containing whitespace

Bug #1105985 reported by Frank Schäckermann
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

While a line in rsyslog.conf like

:syslogtag,startswith,"WebSphere" -/var/log/wmb.log

works for messages with a syslogtag of "WebSphere Broker v8001[2701]"

the lines

:syslogtag,startswith,"WebSphere Broker" -/var/log/wmb.log
:syslogtag,contains,"WebSphere Broker" -/var/log/wmb.log
:syslogtag,regex,"WebSphere.Broker.*" -/var/log/wmb.log

do not work and the messages are not written to the log file.

This is for rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="2681" x-info="http://www.rsyslog.com"]
from package rsyslog-5.8.6-1ubuntu8 on Ubuntu

Description: Ubuntu 12.04.1 LTS
Release: 12.04

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rsyslog (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.