The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

can't find thread on freeing log space

Discussion in 'General Discussion' started by dwh, Jun 18, 2002.

  1. dwh

    dwh Member

    Joined:
    Mar 5, 2002
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Some time ago Someone had posted problems with logs hogging lots of space and someone else came in and came up w/ a great way using symbolic links to do so. I thought I was involved in that thread but searching for my posts returns 0 posts (???)...and all other searches I've done turn up nothing (logs, logs filling up directory etc...)...does anyone remember where that thread was? I need to do something similar again and would love to have it as reference.

    Thanks!
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    You mean symlinking your apache domlogs elsewhere, or /var/log ?

    Yea you can do that with:

    ln -s /usr/local/apache/domlogs /home/domlogs


    (AFTER you move that domlogs dir into HOME and kill apache)
    once the link is made then restart the lovely service. You can apply this to many things related to service logging or the system syslogger, though if you start meddling with pushing around the cpanel directory structure, or library source files around your linux system- it will die.

    Just be careful :p
     
Loading...

Share This Page