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.

Path to logs

Discussion in 'General Discussion' started by Crundy, Oct 20, 2003.

  1. Crundy

    Crundy Active Member

    Joined:
    Oct 9, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    What is the path to a user's logfiles through shell access?
     
  2. Frenck

    Frenck Active Member

    Joined:
    Nov 12, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hengelo, The Netherlands
    I think you want the bash history?

    /home/user/.bash_history
     
  3. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    is it the apache access logs you are talkiing about ?

    if so, here it is

    /usr/local/apace/domlogs/domain.com
     
  4. Crundy

    Crundy Active Member

    Joined:
    Oct 9, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Sorry, I did mean the Apache logs.

    I get 'No such file or directory' for /usr/local/ etc. Is it because of Jailshell, or are they located somewhere else?
     
  5. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    with jailshell, you cant access those folders :)
     
  6. Crundy

    Crundy Active Member

    Joined:
    Oct 9, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    It's OK, I found out. I didn't realise you needed to check the box saying 'Archive my logs at the end of the day' etc so they are stored in ~/logs/

    Thanks anyway.
     
Loading...

Share This Page