#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 , 15 years ago
| Milestone: | → 2.8.4 |
|---|
comment:2 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in changeset [340].