[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RE: Clearing Web Log
- Subject: RE: [cobalt-users] RE: Clearing Web Log
- From: "John Burgess" <john.burgess@xxxxxxxxxx>
- Date: Tue May 23 18:45:57 2000
Do a "Ctrl d" instead of a "ctrl c"
"ctrl c" just kills the cat command. "ctrl d" sends an end-of-file
John Burgess
President, Allegro Data Systems
12500 Network, Suite 401
San Antonio, TX 78249
210-558-0709
E-mail <mailto:john.burgess@xxxxxxxxxx>
Fastex.net <http://www.fastex.net/>
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of David D
> Sent: Tuesday, May 23, 2000 7:13 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] RE: Clearing Web Log
>
>
> I'm curious, why not just issue:
>
> cat > logname
>
> Then <enter> to clear out any logs that need zero'd out. You
> then have to hit
> "Ctrl C" to return to prompt, but it will zero out the log
> file in question
> without causing problems for the log.
>
> When the RaQ3's were sick with all their log file rotation
> and stats reporting
> issues, we had to go in on a daily basis and issue this
> command to each server
> because the main access and error logs grew so large.. We've
> used this method
> many times without any problems.
>