Modify ↓
#10810 closed defect (fixed)
Leak to the log on other environment
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12.4 |
| Component: | general | Version: | 0.12-stable |
| Severity: | normal | Keywords: | log |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
The logger library in Python is similar to log4j. The loggers have hierarchy with the period-separated names. The log messages are passed to the ancestor logger handlers. See http://docs.python.org/library/logging.html#logger-objects.
And, Trac uses the path of environment as logger name.
If the path has period, it will output to the ancestor logger.
Patch [80b89ce8/jomae.git].
How to reproduce
- Create two environments named
/var/trac/parentand/var/trac/parent.child - Enable logging on the environments
- Run
tracd -e - Access
parent.childenvironment using your browser - Output to both log files on the environments
Attachments (0)
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 13 years ago
| Owner: | set to |
|---|
Note:
See TracTickets
for help on using tickets.



Looks good!