2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00
fhem-mirror/fhem/webfrontend/pgm3/docs/logrotate
rudolfkoenig 71fe020f84 Initial version
git-svn-id: https://svn.fhem.de/fhem/trunk@3 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2007-01-30 12:47:36 +00:00
..
fhz1000.logrotate Initial version 2007-01-30 12:47:36 +00:00
logrotate.fht.sh Initial version 2007-01-30 12:47:36 +00:00
logrotate.hms100.ks300.sh Initial version 2007-01-30 12:47:36 +00:00
README Initial version 2007-01-30 12:47:36 +00:00

If the files are too big the system will be slower than usual.

In the config.php it is now possible to automatic logrotate the HMS, FHT and KS300-Logs. But it is only possible if the user of the pgm3 (e.g. wwwrun) has the rights to write the logfiles from fhz1000.pl (user=???????)

If you want do that manually then read the enclosed examples for your crontab.

Every Linux-System normally has a logrotate-Daemon. Put the fhz1000.logrotate in your /etc/logrotate.d/ to lograte the fhz1000.cfg and edit it or use the builtin method: "logfile /tmp/fhz1000-%Y-%m.log"