Opened 11 years ago

Closed 11 years ago

Last modified 6 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 Changed 11 years ago by rainer

Milestone: 2.8.4

comment:2 Changed 11 years ago by rainer

Resolution: fixed
Status: newclosed

Fixed in changeset [340].

Note: See TracTickets for help on using tickets.