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.

CustomLog for vhost

Discussion in 'General Discussion' started by JayLevine, Feb 4, 2013.

  1. JayLevine

    JayLevine Active Member

    Joined:
    Nov 25, 2002
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New Mexico
    Hello,

    I was able to setup a new log format no problem...

    I added to httpd.conf (did the distill & rebuild):
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %{pce-site}C" combinedUser

    I added a file:

    /usr/local/apache/conf/userdata/std/2/user-name/domain.tld/customlog.conf

    with contents:
    CustomLog /usr/local/apache/domlogs/domain.tld combinedUser

    All this seems to work well.

    My question is how can I do this with piped logging?

    Thanks,
    Jay
     
  2. JayLevine

    JayLevine Active Member

    Joined:
    Nov 25, 2002
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New Mexico
    This morning I found that logging had stopped.

    So, this isn't working.

    How can I change the log format for this vhost?

    Thanks,
    Jay
     
Loading...

Share This Page