• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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