Edgewall Software
Modify

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#9361 closed defect (fixed)

debian lenny, squeeze trac file logging failure

Reported by: jfeltz@… 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 Remy Blank)

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

  1. ~$ sudo apt-get install trac
  2. ~$ trac-admin temp initenv
  3. ~$ changed the appropriate setting in temp/conf/trac.ini
  4. ~$ 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 jfeltz@…, 15 years ago

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

comment:2 by Christian Boos, 15 years ago

Keywords: logging documentation added; log removed
Milestone: 0.11.7.10.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 jfeltz@…, 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 Remy Blank, 15 years ago

Description: modified (diff)

comment:5 by Remy Blank, 14 years ago

Resolution: fixed
Status: newclosed

Explicit mentions of relative paths added in [10133] and TracLogging@15.

The original subject is an InstallationIssue.

comment:6 by Remy Blank, 14 years ago

Owner: set to Remy Blank

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.