Welcome to WebmasterWorld Guest from 54.196.244.186

Forum Moderators: bakedjake

Message Too Old, No Replies

Deleting log files in Plesk

     
7:56 am on Dec 27, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 14, 2003
posts:1139
votes: 0


Can someone tell me how to delete log files in plesk? I cannot do it within the control panel it seems as the boxes are greyed out.
10:14 am on Dec 28, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 14, 2003
posts:1139
votes: 0


Anyone?
4:49 pm on Dec 28, 2006 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12533
votes: 0


I believe you can only delete processed log files from the Plesk control panel.

What is it you truly want to do? I don't delete my log files as Apache is just going to recreate them for me. If I want to clear an error log file or something I just open a shell session (SSH) and run a command to clear out the entries.

5:18 pm on Dec 28, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 14, 2003
posts:1139
votes: 0


Just want to get rid of the log files. They are taking up round 47GB's of space.
2:58 am on Dec 29, 2006 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12533
votes: 0


Well, as I said, I believe the only log files you can delete via a Plesk control panel are processed log files. You could turn on rotation and remove your processed log files.

Otherwise, if you have command line access you can use one of the suggested methods from Apache [httpd.apache.org].

8:12 am on Jan 2, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:Oct 4, 2006
posts:44
votes: 0


Compworld,
what u can do login as root and go to given dir

# cd /var/logs

In this dir all kinds of log maintains u can delete various log file.