how to erase all log files or at least empty them

txt3rob

Verified User
Joined
Jan 16, 2007
Messages
101
how can i empty all log files on the server i belive my server logs have really grown to much!
i carnt start mysql and for some reason i carnt log in to DA :|
 
If you really don't know how to remove a file, then are you sure you know they need removing?

You remove log files the same way you use any other files, with the rm command from the shell.

Jeff
 
in the end i deleted them all and remade them things seem to of settled down now.

thanks :)
 
Did DA create new log files?

I need to empty one log file to.
Did ju just run.

erase /var/log/directadmin/"FILENAME"

Thanks :)
 
Back
Top