|
[ Order a Server ] [ Server Support ] |
|
[ Getting Started ] [ Server Help ] [ Add on Help ] [ Solution ] [ Trouble Shooting ] PLEASE NOTE, THIS IS VERY OLD ARCHIVE INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS
Clearing Log Files Using vnukelogUse the vnukelog command to clear your Virtual Server log files. The vnukelog command can be used to clear the ~/usr/log/messages file as well as all Virtual Server and Virtual Subhost log files.
Use the
% vnukelog -i Usage: vnukelog [-h] [-i] [-r] -h display this message -i enter interactive mode -r nuke root server logs only Use no options to nuke all log files on the virtual server. Use the vnukelog command without any flags to clear the ~/usr/log/messages file and ALL Virtual Server and Virtual Subhost log files:
% vnukelog
Use the
% vnukelog -r
Use the
% vnukelog -i
Regularly Clearing Your Log Files Using CronYou can easily use the Cron Program Scheduler feature to schedule vnukelog to regularly nuke your Virtual Server log files. Add something like this to your crontab:
0 1 1 1-12/3 * /usr/local/bin/vnukelog
This will run the command
PLEASE NOTE, THIS IS OLD ARCHIVE INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS |