← Back to team overview

touch-packages team mailing list archive

[Bug 1105985] Re: regex, contains and startswith not working for syslogtag with a value containing whitespace

 

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

** Changed in: rsyslog (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/1105985

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

Status in “rsyslog” package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1105985/+subscriptions