To change the log level, do the following.
按照以下步骤修改日志级别。
You usually indicate the log level with a macro.
通常你需要一个宏来指定记录等级。
A log level of 1 only logs messages with a priority of 0 or 1.
级别为1的日志仅记录优先级为0或1的消息。
It's contents depend on the log level specified in the log4j configuration.
它的内容取决于在log4j配置中指定的日志记录级别。
You can change the log level of the Web server plug-in to provide more information.
可以改变Web服务器插件的日志级别来提供更多信息。
The log level to use for the generated log statements.
对于生成日志语句所使用的日志级别。
Alternatively, you can write a program to change the console log level.
另一种方法是,你可以写一个应用程序来改变控制台的记录等级。
Each of these handlers also has a default minimum log level setting, which are listed in Table 1.
每个处理器都有一个默认的最低日志级别设置,如表1所示。
Next, the incoming string is checked for the log-level string; if found, the log level is set accordingly.
接下来,它会对输入的字符串进行日志级别检查;如果发现日志级别信息,那么对应的日志级别就会被设置。
The last thing we need to do in this add-on is to configure project logging and set up the log level to trace.
我们在该附加组件中需要做的最后一件事是配置项目日志,并设置要跟踪的日志级别。
For example, log level = 1 winbind:3 sets the system default log level to 1 and increases winbind logging to 3.
例如,log level =1winbind:3 将系统默认日志级别设置为 1,并将 winbind日志级别增加到 3。
The result is a single string that incorporates the log level and user-specified format string as a single string.
组合的结果是将日志级别和用户指定的格式字符串包含在一个字符串中。
The default log level should be WARN which will write a message to the log file only if a request has been blocked.
默认的日志记录级别应该是WARN,它只在已经阻止了请求的情况下在日志文件中写消息。
After turning on Hibernate's log level to trace, we found it was the updating of session cache that caused the delay.
将Hibernate的日志级别调成trace后,我们发现是更新会话缓存造成了延时。
To use this additional logging, append the keyword and the value to the log level parameter, separated by a colon (:).
要使用这些额外的日志记录,将关键字和值附加到日志级别参数,用冒号(:)分割。
Anything above a log level of 3 is meant for a developer's eyes and won't provide much help to you as a system administrator.
级别大于3的任何日志都旨在用于开发人员,对系统管理员没有太大的帮助。
These log levels represent the console log level, default message log level, minimum console log level, and default console log level.
这些日志级别表示了控制台的日志级别、默认消息日志级别、最小控制台日志级别和默认控制台日志级别。
You can change the log level at run time by sending a SIGUSR1 signal to the Samba process to increase the log level or SIGUSR2 to decrease the log level.
您可以在运行时更改日志级别,方法就是发送SIGUSR1信号给Samba进程来增加日志级别,或发送SIGUSR2减少日志级别。
All the available options and a description of each can be found in the log level Settings document in the WebSphere Application Server Information Center.
可以在WebSphereApplicationServer信息中心中找到日志级别设置的所有可用选项及每个选项的描述。
You can call methods on the log object that correspond to the desired log level: debug, info, error, and so on. (See Resources for more information on logging.)
可以调用log对象上与想要的日志级别相对应的方法,这些日志级别包括:debug、info和error等(参见参考资料了解关于日志记录的更多信息)。
If the log level is set to INFO it will log an entry whenever a request passes the servlet filter and whether that request has been forwarded to Dispatcher or not.
如果把日志级别设置为INFO,那么每当有请求经过servlet筛选器时都记录一个条目,无论是否把请求转发给Dispatcher。
You can do this manually by entering a trace string in the text box or by clicking a component in the list and selecting a log level from the pop-up box. See figure 15.
进行手工设置的方法是在文本框中输入一个跟踪字符串,或者单击列表中的一个组件并从弹出框中选择一个日志级别,见图15。
Not only have we made the code cleaner in appearance but we also made it easier to change the log level of the SQL queries log since we only need to make the change in one place now.
代码不但在外观上更加规则,而且更易于更改SQL查询日志的日志级别,因为现在只需要在一个位置进行更改。
The new logging probes provider extension can be enabled and configured to publish a LogRecord for each resource meter reading that exceeds a particular threshold defined per log level per meter.
新的日志探测器提供者扩展可以被激活并配置以发布一个LogRecord,用于读取超过特定阀值(每个计量表的每个日志等级都做定义)的每个资源计量表读数。
Log Level: Amount of log detail provided.
Log Level:提供的日志详细信息量。
Log Level: Amount of log detail provided.
Log Level:提供的日志详细信息量。
应用推荐