该特性使管理员能够根据消息记录的需求来在运行时启用或禁用日志记录功能。
This feature lets administrators turn logging capabilities on and off at runtime, depending on whether they require messages to be logged or not.
还有两个其他的元级别:ALL (与FINEST同义)和OFF(禁用日志)。
There are also two other meta-levels: ALL (synonymous with FINEST) and OFF (disables logging).
您现在已附加了对任何Employee服务调用禁用日志记录的中介策略。
You have now attached a mediation policy that will disable logging for any invocations of the Employee service.
可以在挂载文件系统时禁用日志记录功能,这意味着不需要担心修改或重新配置文件系统。
You can disable logging at the point of mounting the filesystem, which means that you don't need to worry about changing or reconfiguring the filesystem.
在上述情况下,如果性能很重要的话,最好是在执行上述操作时禁用事务日志归档模式。
If performance is important in the above cases, it would be a good idea to disable transaction log archive mode for the duration of their execution.
此外,也可以通过中介策略控制日志的启用和禁用,后文将对此进行简要介绍,并且更多细节将出现在本系列第3部分中。
Additionally, the ability to enable or disable logging can be controlled via mediation policies, which are described briefly below and will be covered in more detail in Part 3.
更好的一点是,如果日志被禁用,那么所有的语句都不会影响性能,因为性能是Log4j设计的主要考虑因素之一。
Even better, if the log is disabled, all those statements will not impact performance, since performance has been one of the major design considerations for Log4j.
mkfilt:这是一个重要的命令,它可以激活或停用表中的过滤规则,启用或禁用过滤日志,并改变默认规则。
Mkfilt: This is a key command that allows us to activate or deactivate the filter rules in the table, enable or disable logging for filters, and change the default rules.
禁用事务日志归档模式。
甚至当跟踪禁用时,您的代码将在每个跟踪点至少调用一个日志记录器方法。
Even when trace is disabled, your code will call at least one logger method per trace point.
只有对以上文件禁用跟踪和日志才能获得最佳的性能。
Maximum performance will be obtained if there is no tracing or logging in any of the above files.
禁用存档日志的获取——这由NORETRIEVE配置参数控制,禁用存档日志的获取。
Disabled retrieval of archived logs - This is controlled by the NORETRIEVE configuration parameter to disable the retrieval of logs.
在选择相关的性能规则(以牺牲可用性为代价)时,为了使JFS提高性能,您可能会禁用元数据日志记录功能。
In a performance Rules shop (at the expense of availability), you would disable metadata logging in an effort to increase performance with JFS.
在生产环境中,禁用除最重要的日志以外的一切日志记录能够减少磁盘写操作。
In a production environment, disabling all but the most critical logs saves disk writes.
清单9:禁用事务日志归档模式,并删除所有归档的事务日志文件。
Listing 9: Disable the transaction log archive mode, and delete all the archived transaction log files.
禁用调试时,Chom pQ . pl将生成最少的日志条目;反之,将生成冗长的日志条目。
ChompQ.pl makes minimal log entries when debugging is disabled but rather lengthy entries otherwise.
如果您的应用程序使用Log4J(请参阅参考资料),您可以使用一个Servlet来动态启用和禁用Log4 J日志记录级别,而无需重新启动服务器。
If your application USES Log4J (see Resources), there is a servlet that you can use to dynamically enable and disable Log4J logging levels without recycling the server.
禁用此服务器的数据包筛选器日志记录。
禁用此服务器的数据包筛选器日志记录。
应用推荐