1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Piped logging duplicates log entries to /var/log/httpd/

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Hostasaurus.Com, Oct 13, 2011.

  1. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    I'm curious if anyone running piped logging has found a way around this. We converted a few server to piped logging because we found it would decrease the server load; i.e. it must be more efficient than having every child process of apache writing to individual logs. So anyway, the negative side effect of doing this seems to be that now the plesk pipelog program is writing the relevant entries to each site's logs directory, but every request for every site is also being written to /var/log/httpd/access_log which is highly undesirable since we have /var/log/ on its own partition which is not large enough to store a day's worth of logs for every site on the server (50+ gigs).

    Any way to make it only log to the pipelog program and not to the system httpd log?
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
  3. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    Yes, that article tells one how to turn on piped logging; I have already turned it on, I am asking how to make it stop logging a copy of every site's log entry to /var/log/httpd/access_log as well as to each site.
     
Loading...