Re: How to clear log files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Di, den 07.06.2005 schrieb Frank Chen um 20:57:

> How do I clear the log files in /var/log?

Please stop hijacking foreign threads. Means, you are replying to former
thread by starting a new topic. You even now double hijacked. Your
question and the other one ("initrd question") are part of "Squirrelmail
and HTTP". Don't wonder if you get no answers.

Why do you want to "clear" the logs? What do you mean with it? You want
to zero the current log files or throw away the rotated (those with
.<number> suffix)?

You may move the old, rotated logs to a different place. If you really
think you need to empty a current log file, then don't simply delete it
but run "> file.log" to zero it.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.27_FC2smp 
Serendipity 21:45:16 up 14 days, 20:22, load average: 0.07, 0.11, 0.09 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux