Ticket #9361 (closed defect: fixed)
Opened 21 months ago
Last modified 17 months ago
debian lenny, squeeze trac file logging failure
| Reported by: | jfeltz@… | Owned by: | rblank |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12.1 |
| Component: | general | Version: | |
| Severity: | major | Keywords: | logging debian documentation |
| Cc: | jfeltz@… | ||
| Release Notes: | |||
| API Changes: | |||
Description (last modified by rblank) (diff)
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
Change History
comment:1 Changed 21 months ago by jfeltz@…
comment:2 Changed 21 months ago by cboos
- Keywords logging documentation added; log removed
- Milestone changed from 0.11.7.1 to 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 Changed 21 months ago by jfeltz@…
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 Changed 21 months ago by rblank
- Description modified (diff)
comment:5 Changed 17 months ago by rblank
- Resolution set to fixed
- Status changed from new to closed
Explicit mentions of relative paths added in [10133] and TracLogging@15.
The original subject is an InstallationIssue.
comment:6 Changed 17 months ago by rblank
- Owner set to rblank



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