[PATCH] Descriptive component names in trac.log
|Reported by:||Owned by:|
|Cc:||Ryan J Ollos, osimons, ethan.jucovy@…||Branch:|
trac.log doesn't contain full component names and as a result it is hard to filter information relevant to plugins.
Consider the following excerpt:
2011-10-15 01:24:47,716 Trac[main] DEBUG: Dispatching <Request "POST '/login'"> 2011-10-15 01:24:47,744 Trac[svn_fs] DEBUG: Subversion bindings imported 2011-10-15 01:24:47,747 Trac[api] INFO: Synchronized '' repository in 0.03 seconds 2011-10-15 01:24:47,747 Trac[web_ui] DEBUG: authenticate() method called 2011-10-15 01:24:47,747 Trac[session] DEBUG: Retrieving session for ID '' 2011-10-15 01:24:47,748 Trac[web_ui] DEBUG: user_locked: False 2011-10-15 01:24:47,753 Trac[chrome] DEBUG: Prepare chrome data for request 2011-10-15 01:24:47,755 Trac[web_ui] DEBUG: authenticate() method called
- Trac[main] is probably trac.core.main
- Trac[web_ui] is acct_mgr.web_ui
- Trac[session] is ???
I'd propose to change that default format to replace Trac with full module name (i.e. name)
Change History (26)
comment:3 by , 8 years ago
|Milestone:||next-major-0.1X → 0.12.3|
|Summary:||Non-descriptive component names in trac.log → [PATCH] Descriptive component names in trac.log|