Page 1 of 1

large size of debug log file timetrex.log - turning it off

Posted: Mon Aug 18, 2008 1:21 pm
by andy
We noticed that the file ~/Timetrex/log/timetrex.log was getting huge, with many DEBUG lines added per punch. Since things are working ok, we didn't want the disk space used up as the log grew. Tech Support explained how to turn off the logging:

Edit the file ~/Timetrex/timetrex/timetrex.ini.php
Make these 3 changes:
buffer_output = FALSE
enable_log = FALSE
verbosity = 0

It is not necessary to restart Timetrex.
You can "erase" the old file with:
echo > timetrex.log

Have a nice log-free day!
-A