Answered my own question by visiting the GUI page again:

 Type:
  Log level:
If you specify a relative path, the log file will be stored inside the log 
directory of the project environment (/var/local/lib/trac/svn-MyProject/log
).

<https://lh3.googleusercontent.com/-b_HjK1USOAE/VRLztHtTfhI/AAAAAAAAABo/7TMgh7Scn7E/s1600/location.png>


On Wednesday, March 25, 2015 at 12:38:52 PM UTC-5, pineapplehandler wrote:
>
> Is there somewhere other than /var/log that I'll find my trac.log file 
> in? The one I created still isn't getting updated, although the GUI is 
> showing logging as enabled now.
>
> Thanks so much for the fast responses! I've gained a lot of traction since 
> joining the users group :)
>
> -Mike
>
> On Wednesday, March 25, 2015 at 10:56:02 AM UTC-5, pineapplehandler wrote:
>>
>> Yes it looks like you are correct Ryan. I added the below include 
>> statement and now all the errors that I had programmed into my 
>> /etc/trac/MyProject.ini file are alive and well! 
>> Thanks for the quick solution! Since apache.conf lives in the /etc/trac 
>> folder, and changes to that file are clearly being read, I had assumed 
>> changes to the .ini file in that location were also read. 
>>
>> On Wednesday, March 25, 2015 at 10:38:46 AM UTC-5, RjOllos wrote:
>>>
>>> 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.

Reply via email to