• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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