On Wed, Mar 25, 2015 at 8:13 AM, pineapplehandler <[email protected]> wrote:
> Another newbie trying to view trac.log. I enabled it > within /etc/trac/MyProject.ini by changing the log_type from none to file and > bounced apache2 but it doesn't look like the changes are applying: > [logging] > log_file = trac.log > # log_format = <inherited> > log_level = DEBUG > log_type = file > > The GUI still shows it as disabled: > > <https://lh3.googleusercontent.com/-dhKeKEXHxiE/VRLQWv1yLSI/AAAAAAAAABY/SR4iuWA88SA/s1600/disabled.png> > > Also created the trac.log file and set ownership to www-data and > permissions to rw rw rw but it isn't growing: > > -rw-rw-rw- 1 www-data www-data 0 Mar 25 09:10 trac.log > > I guess the bigger question is, is Trac reading my custom .ini file at all? > Trac is probably is not reading the file. Trac is looking for a trac.ini file in the environment "conf" directory. You can include another file in trac.ini through the [inherit] section: http://trac.edgewall.org/wiki/TracIni#GlobalConfiguration Try adding to trac.ini: [inherit] file = /etc/trac/MyProject.ini -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
