Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux RH7.3
Web server: Apache 1.3
Perl version: 5.008
Client OS: Windows, Linux
Web Browser: IE, Mozilla, Firefox
Categories: System logs

-- PeterJones - 24 Apr 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Topic revision: r3 - 2006-04-24 - MartinCleaver
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.