www.digitaldaze.com
Clearing Log Files Using vnukelog

Use 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 host log files.

Use the -h option to see all vnukelog options:

% 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 options to clear the ~/usr/log/messages file and all Virtual Server and Virtual host log files:

% vnukelog

Use the -r option to clear just the Virtual Server log files, and leave the Virtual Subhost log files intact:

% vnukelog -r

Use the -i option to enter an interactive mode that allows you to clear just the Virtual Server and Virtual host log files you want to clear:

% vnukelog -i

 

[Legal Notice]
http://www.digitaldaze.com