Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

can't find thread on freeing log space

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

  1. dwh

    dwh Member

    Mar 5, 2002
    Likes Received:
    Trophy Points:
    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.

  2. feanor

    feanor Well-Known Member

    Aug 13, 2001
    Likes Received:
    Trophy Points:
    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
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice