• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question "error_log .../error.log info;" in nginx.conf

seabiscuit

New Pleskian
Hi,

I need error logs at info level for all domains.
The "error_log /var/log/nginx/error.log info;" directive is working at the server level but not at domain level.

How can I achieve info level error logging at domain level for all the domains hosted? Thanks
 
Ok folks,

in "/etc/nginx/plesk.conf.d/vhosts/example.com.conf" ,

I changed the line:
error_log "/var/www/vhosts/system/example.com/logs/proxy_error_log";
to:
error_log "/var/www/vhosts/system/example.com/logs/proxy_error_log" info;

...now I have additional info on the errors. I needed this for ModSec by the way.

But this is far from ideal. How can I get this achieved when creating new vhosts (domains). I think there is a template somewhere ...

Rgrds
 
Back
Top