• 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.

Question Web stats disabled by still saving non-anonymized data

goobliata

New Pleskian
Hello. I have enabled IP anonymizing and uninstalled awstats/webalizer. I am still seeing non-anonymized IP under /var/www/vhosts/<domain>/logs/access_ssl_log.webstat. Since webstats are disabled/not installed, I wonder why this data is being saved here and how to turn it off?

The other logs are OK (access_ssl_log.processed.*.gz.)

Thanks.
 
Not sure about the .webstat files, but in general it is correct that the data is logged non-anonymized. It only becomes anonymized on log rotation. If the file is too small to be rotated, the data will sit there until the file grows and become subject to rotation.
 
The webstat files are what I'm more interested in here. Everything else gets anonymized nightly. I've found two log directories:

/var/www/vhosts/system/<domain>/logs
/var/www/vhosts/<domain>/logs

Not sure why there are two as they seem similar (I only have 1 domain and 1 domain forwarding to it.)

Yesterday I did cat /dev/null > to access_ssl_log.webstat in both of these directories so the file was empty. During the rest of the day, these files filled up. After log rotation, the one in /var/www/vhosts/system/<domain>/logs is anonymized but the other one is not. Since I don't have webstats enabled, I'm not sure when this log would be anonymized.
 
OK, after a few days these webstats are working fine.

One other question though: Are mail logs supposed to be anonymized? Or is there a switch to turn on mail log anonymizing? So far my mail logs are not being anonymized (although I am the only person with email on the server, so I don't feel too bad about the crackers trying to access my mail, but still.)
 
Back
Top