• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Combined log problem and missing error_log w/ Plesk 7.5.4 upgrade

J

JohnTKelly

Guest
I recently upgraded from Plesk v7.02 to 7.54 on RHEL3. I noticed that my Urchin stats were not displaying hits for all domains on the server.

Searching these forums it appears that Plesk modified the log format to suit themselves, thereby breaking log programs for everyone else.

I've added these two lines to the vhost.conf for all domains:

CustomLog /home/httpd/vhosts/unsafeworld.com/statistics/logs/access_log urchin_utm
LogFormat "%h %v %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}i\"" urchin_utm

BUT now all entries to access_log are recorded TWICE for every single hit for a file -- once for plesklog, and once for urchin_utm apparently. This is a tremendous waste of space and system resources, so I'd only like the urchin_utm entry to be recorded. How can I do this?

PLUS the error_log files are no longer beign generated, even though the below line is ni httpd.include:
ErrorLog /home/httpd/vhosts/domain.com/statistics/logs/error_log

Any fix for this? The error log is handing for tracking down a lot of problems, I need to have it.
 
... bump ...

Also noted that while I can suggest a CustomLog directive for Plesk in vhost.conf (though it ignores completely the LogFormat), it will still continue to write to the normal access_log in addition to the CustomLog file specified.

If there's a way to disable plesklog (and use my own format/logfile), that woudl also work. Any ideas?
 
Got a reply from SWSoft tech support:

Plesk uses hardcoded log format because it is needed by webalizer.
If you wish to use own log format, there are two ways to solve the problem.

1. Create own LogFormat and CustomLog in vhost.conf per domain basis.

2. Redefine Plesk LogFormat in /etc/httpd/conf/httpd.conf after "Include
/etc/httpd/conf/httpd.include" line. But in this case webalizer and
Plesk statistics may not work.
 
Back
Top