English 中文(简体)
可处置的原木
原标题:Disable nginx logs

• 如何在无端错误的情况下进行原样的伐木?

差错——固定工程,只是产生“注销”的真实而不是 j。

错误_log dev/null dontsupport。

顾问办公室免费。 我需要分水岭进行可分割的伐木。

问题回答

http://wiki.nginx.org/CoreModule#error_log”rel=“noreferer”> http://wiki.nginx.org/CoreModule#error_log

土基

Note that error_log off does not disable logging - the log will be written to a file named "off". To disable logging, you may use:

<>代码>error_log /dev/null crit;

将伐木带给推土机(从0.7.53版/var/log/nginx/error.log版开始,转至/dev/null的再版并不可靠地工作),硬编码将使用到汇卷读为止()。

error_log stderr crit;

如果有/var/log/nginx/* 的系统存在,就会使根基消失。

最新国家地理信息小组(GIS)新版本的出入和差错记录

  http {

          access_log off;
          error_log off;

       }




相关问题
Best logging approach for composite app?

I am creating a Composite WPF (Prism) app with several different projects (Shell, modules, and so on). I am getting ready to implement logging, using Log4Net. It seems there are two ways to set up the ...

How to make logging.debug work on Appengine?

I m having a tough time getting the logging on Appengine working. the statement import logging is flagged as an unrecognized import in my PyDev Appengine project. I suspected that this was just an ...

How to validate Java logging properties files?

I have a basic facility for allowing users to remotely apply changes to the logging files in my application. Some logs are configured using java.util.logging properties files, and some are configured ...

Logging SAS scripts

I ve been developing a lot of Java, PHP and Python. All of which offer great logging packages (Log4J, Log or logging respectively). This is a great help when debugging applications. Especially if the ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

热门标签