Opened 14 years ago

Closed 14 years ago

Last modified 8 years ago

#245 closed defect (fixed)

Explain how (not to) use quotes in log format for log monitoring

Reported by: rainer Owned by: rainer
Priority: major Milestone: 2.8.4
Component: main Version:
Keywords: Cc:

Description

Explain that the log format should not be surrounded by quotes, and that quotes within should not be escaped. Wrong:

LogmonWatch = APACHE:/var/log/apache/access.log:"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\""

Correct:

LogmonWatch = APACHE:/var/log/apache/access.log:%h %l %u %t "%r" %>s %b "%{Referer}i"

Change History (2)

comment:1 by rainer, 14 years ago

Milestone: 2.8.4

comment:2 by rainer, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset [340].

Note: See TracTickets for help on using tickets.