#9361 closed defect (fixed)
debian lenny, squeeze trac file logging failure
| Reported by: | Owned by: | Remy Blank | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12.1 |
| Component: | general | Version: | |
| Severity: | major | Keywords: | logging debian documentation |
| Cc: | jfeltz@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
I've set the following in the trac.ini of an environment created with trac-admin and ran with tracd by the same user.
[logging] log_file = trac.log log_level = DEBUG log_type = file
To reiterate, on both lenny and squeeze, I've
- ~$ sudo apt-get install trac
- ~$ trac-admin temp initenv
- ~$ changed the appropriate setting in temp/conf/trac.ini
- ~$ tracd -p 6666 temp
No log file appears anywhere in temp, touching temp/trac.log has no effect.
Attempted with debian packages:
- trac 0.11.1-2.1
- trac 0.11.7-3
Any and all help is appreciated.
Attachments (0)
Change History (6)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
| Keywords: | logging documentation added; log removed |
|---|---|
| Milestone: | 0.11.7.1 → 0.12.1 |
[logging] file specifies a file below <tracenv>/log, not below <tracenv>. So you should verify the permissions for that directory.
But neither TracLogging nor TracIni#logging-section are explicit about this, we should fix that.
comment:3 by , 15 years ago
The permissions are that of the user, whom has full r/w to all directories within temp, recursive. I tried to make this obvious at first by stating that the user which created the env with trac-admin is the same that ran tracd (all of this was done in the users /home/users dir on a basic debian install). No log file is present in the location you described.
comment:4 by , 15 years ago
| Description: | modified (diff) |
|---|
comment:5 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Explicit mentions of relative paths added in [10133] and TracLogging@15.
The original subject is an InstallationIssue.
comment:6 by , 15 years ago
| Owner: | set to |
|---|



Sorry, please excuse the formatting and assume that there are the appropriate linebreaks in the config.