How to disable nginx logging without critical errors?
error_log off - does not work, just creates a file name "off", really, not a joke.
error_log dev / null does not support.
OS freebsd. I need to disable logging for the subdomain.
http://wiki.nginx.org/CoreModule#error_log
From wiki
Please note that error_log off does not disable logging - the log will be written to a file named "off". To disable logging, you can use:error_log /dev/null crit;
Please note that error_log off does not disable logging - the log will be written to a file named "off". To disable logging, you can use:
error_log /dev/null crit;
Set logging to stderr (redirecting to / dev / null does not work reliably, since from version 0.7.53 / var / log / nginx / error.log) is hard-coded for use until the configuration file is read ( http: //wiki.nginx.org/CoreModule#error_log ).
error_log stderr crit;
Using / dev / null on systems where / var / log / nginx / * does not exist will call nginx.
Source: https://habr.com/ru/post/900520/More articles:Difference between database and sqla databases in Beaker? - pythonReading EventLogQuery for a remote computer? - c #Maven for static web projects - javascriptRails 3.1 - Development Using Mountable Engines - ruby-on-railsIs it possible to add any element to the context menus of the android (system menu) - androidDelete rows in a data frame based on three columns - rHow to render a string as an erb file? - ruby ββ| fooobar.comhow to convert an object to json using jsonconvert - without - key-qoutations - jsonAVCaptureVideoDataOutput and setting kCVPixelBufferWidthKey & kCVPixelBufferHeightKey - iosHow to make ASP tags CheckBoxList on the same line as the checkbox - cssAll Articles