1) /etc/logrotate.conf : # see "man logrotate" for details notifempty # rotate log files weekly #weekly daily # keep 4 weeks worth of backlogs rotate 7 # create new (empty) log files after rotating old ones create # uncomment this if you want your log files compressed compress # RPM packages drop log rotation information into this directory include /etc/logrotate.d # no packages own wtmp -- we'll rotate them here /var/log/wtmp { monthly create 0664 root utmp rotate 4 } # system-specific logs may be also be configured here. 2) /etc/logrotate.d/gnugk.logrotate : rotate 100 /var/log/gnugk/gnugk.log { missingok sharedscripts postrotate # /bin/killall -HUP gnugk-2.0.3 2> /dev/null || true # /bin/kill -HUP gnugk 2> /dev/null || true /etc/init.d/gnugkd reload endscript } It's all. On Friday 18 June 2004 15:13, Zygmuntowicz Michal wrote: > man logrotate or man logrotate.conf. There is some keyword > like 'compress' or something similar that tells logrotate to .gz > rotated files. You just put it inside /var/log/gnugklog {} clause. -- Best regards, Igor Prokhorov ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/