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? On Wednesday, September 17, 2014 at 1:33:48 PM UTC-5, hasienda wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10.09.2014 18:32, Sigurdur Bjarnason wrote: > > Hi all, > > > > Hope you can direct newbie of Trac about logging, > > > > I have managed to setup trac with svn however... when I try to set > > logging in the trac.ini.... No log file is created? I have been > > google-ing around but with now hint to what is going on. I am running > > on Ubuntu and this is the logging section in my global.ini > > > > [logging] > > log_file = trac.log > > log_level = DEBUG > > log_type = file > > > > > > ..no matter what I do.. no log file is created :/ please hint me in > > the right direction here.. > > There have been some hints, of what I think the permission is the most > common reason to look for. Did you finally get to it? > > Steffen Hoffmann > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > Comment: Using GnuPG with Icedove - http://www.enigmail.net/ > > iEYEARECAAYFAlQZ0/EACgkQ31DJeiZFuHc5RgCghYA+ncNL4fpfJZyCNWPcSNm8 > SsoAn0Fat37sQW1IMRyQEQq5bH6OPuAT > =1OUc > -----END PGP SIGNATURE----- > -- 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.
