6/16/14

truncate live file

How to truncate a live log file? 
Some situations force us to truncate live log file.
Simple way to truncate a live log file is -
as the owner of the file
> logfilename

this truncates the log