eSelix |
12-16-2012 02:01 PM |
This log file is opened by log application for writing. When you "change" this file, you actually delete it and create new file, but the log application still use a handle to the old file, which is now "hidden" in filesystem and will be deleted when log application close handle, at the end of working, example at system rebooting. To make a change you would first stop logging program (to close handles) and then delete or change log file, and restart log application. The log program depends on distribution you are using, search for "syslog" in name.
Anyway, log files is not intendent to be changed by hand, so please specify what you want to achieve, maybe you get better solution.
|