- Plesk Onyx for Linux
- Log files have incorrect (old) timestamps after system time or timezone was changed in Plesk > Tools & Settings > System Time.
datecommand shows the correct system time.
This is the expected behavior after the time or timezone changing, the restart of the services is required.
Note: to apply new time and timezone for all services simultaneously, reboot the server.
- Log into the server via SSH.
- Apply the new time and timezone for log files by restarting the corresponding services, for example:
/var/log/plesk/panel.logrestart psa service:
# service psa restart
/var/log/maillogrestart rsyslog service:
# service rsyslog restart
/var/log/nginx/error.logrestart Nginx service:
# service nginx restart
/var/log/apache2/error.logrestart Apache service:
# service httpd restart 2> /dev/null || service apache2 restart 2> /dev/null