Re: How to delete all log files?
- From: pfjames@xxxxxxxxxxxxxx (Peter James)
- Date: Sun, 18 Mar 2007 08:06:43 +0000
Mark Conrad <noneof@xxxxxxxxxxxxxxxxxx> wrote:
In article <tomstiller-457C75.08002317032007@xxxxxxxxxxxxxxxxxxxxxxxx>,Or how about taking a look at MacJanitor. that will delete all daily,
Tom Stiller <tomstiller@xxxxxxxxxxx> wrote:
Log files created as a result of abnormal behavior (e.g. crash logs)
don't get rolled. They can be safely deleted after inspection. System
log files live in "/var/log".
If you want those logs to roll with the others, I recommend the creation
of files "/etc/daily.local" and "/etc/weekly.local" which contain copies
of the appropriate sections scripts from the files in "/etc/perodic/",
suitably modified.
A good way to frighten me senseless is to suggest writing any sort of
script. I am terrified by scripts of any kind, they are an invention
of the devil.
Gawd-awful unreasonable mental block of some kind.
For that reason, I like Wes's approach much better, get in there and
tear the living be-jesus out of a file, directly.
Better yet, if/when I get in a mean mood, I will merely delete every
single log file in sight.
OS X will probably re-create new empty log files at the next restart.
Mark-
weekly and monthly files. I know they are recreated by the OS but at
least you will be keeping some sort of control on them.
.
- References:
- How to delete all log files?
- From: Mark Conrad
- Re: How to delete all log files?
- From: Tom Stiller
- Re: How to delete all log files?
- From: Mark Conrad
- Re: How to delete all log files?
- From: Tom Stiller
- Re: How to delete all log files?
- From: Mark Conrad
- How to delete all log files?
- Prev by Date: Re: Keyboard command for sleep
- Next by Date: Re: Help needed - Safari, Software update and help a mess - Help response.jpg (1/1)
- Previous by thread: Re: How to delete all log files?
- Next by thread: Re: How to delete all log files?
- Index(es):
Relevant Pages
|