Modify ↓
#6086 closed enhancement (worksforme)
[patch] Add line number to log messages
| Reported by: | morris | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | devel |
| Severity: | normal | Keywords: | log line number |
| Cc: | gt4329b@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Pretty much what the summary says. Instead of log lines like this:
2007-09-26 13:08:05,986 Trac[main] DEBUG: Dispatching ...
…this patch will give you log lines like this:
2007-09-26 13:08:05,986 Trac[main:142] DEBUG: Dispatching ...
What's not to like?
Attachments (1)
Change History (3)
by , 18 years ago
| Attachment: | log_linenum_r6044.diff added |
|---|
comment:1 by , 18 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
You probably missed TracLogging#LogFormat: you can already customize the logging format in a very flexible way.
Note:
See TracTickets
for help on using tickets.



Patch for trac/log.py (diff'd from trunk r6044)