2 Sep
2010
2 Sep
'10
6:31 p.m.
On Thu, Sep 02, 2010 at 01:12:40PM +0000, otgovorete@gmail.com wrote:
The parser i've made parses successfully A but not B. The problem is extra whitespace when the date is one digit. I am testing parsing with pdbtool of syslog-ng.
I have this problem pretty often myself unfortunately. If you just want to get it to work ASAP even if it's not the most elegant situation, just add @ANYSTRING::@ to the end of your parser, right after the last non whitespace character of the message and it will "eat up" the trailing chars to successfully process the string.
Please, advice me how to proceed. Thank you.
Hope this will help you out.
Kosta
Matthew.