Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Log Files

There are to many logfiles in var/log
How do I delete the log file??


This thread was automatically locked due to age.
Parents
  • Two ways to accomplish this.

    One from the console login as root, change to the /var/log directory.  Then use the rm command (rm -f logfiletodelete).  This command breaks down like this 

    rm  - Remove
    -f - remove with out asking "are you sure"
    logfiletodelete - the name of the log file.

    Second login as loginuser using ssh then su to root and delete files.

    Third in version 3.040 and above use the WebAdmin GUI to delete old log files

    Craig
Reply
  • Two ways to accomplish this.

    One from the console login as root, change to the /var/log directory.  Then use the rm command (rm -f logfiletodelete).  This command breaks down like this 

    rm  - Remove
    -f - remove with out asking "are you sure"
    logfiletodelete - the name of the log file.

    Second login as loginuser using ssh then su to root and delete files.

    Third in version 3.040 and above use the WebAdmin GUI to delete old log files

    Craig
Children
No Data