Modify ↓
Ticket #3657 (closed enhancement: duplicate)
Opened 5 years ago
Last modified 5 years ago
Logging should mention project name
| Reported by: | trac@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
The log messages I get (in syslog) look like this:
Sep 1 17:52:13 sleepless Trac[main] WARNING: 500 Internal Error (Milestone milestone4 does not exist.) Sep 1 17:52:44 sleepless Trac[main] WARNING: 500 Internal Error (Milestone milestone3 does not exist.) Sep 1 17:53:15 sleepless Trac[main] WARNING: 500 Internal Error (Milestone milestone1 does not exist.) Sep 1 18:02:00 sleepless Trac[main] WARNING: 404 Not Found (No handler matched request to /foo)
The problem is that we run about 10 Trac sites, with many more to come, so I have no idea which site in which to look for the error. We could redirect each site to its own logfile, but this just means more files to monitor. It'd be nice if the log message could be customized, or at least by default mention which site it's talking about.
Attachments
Change History
comment:1 Changed 5 years ago by mgood
- Resolution set to duplicate
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



Duplicate of #2844.