Question
The log files that are created by TWiki (./data/log****.txt) are very big. What does TWiki need them for? Can the old files be safely deleted(or compressed) or are there some TWiki internals that need to access them (for stats etc).
Environment
--
PeterJones - 24 Apr 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
The TWiki statistics script depends on the stats file of the current month. Older stat files can safely be archived or deleted.
In TWiki.cfg (your release) or configure (TWiki 4) you can set what will be logged. You could reduce the logging at the expense of the statistics.
--
PeterThoeny - 24 Apr 2006
It is standard UNIX best practice to keep log files separate from data, hence using twiki/logs instead of twiki/data can help you readily determine where the disk space is going.
To maintain backward compatibility TWiki retains them in the data directory but you can configure this separately in
configure.
--
MartinCleaver - 24 Apr 2006