log4j
![log4j](../cache/428380.jpg)
-
This application uses log4j to provide logging services .
此应用程序使用log4j来提供日志服务。
-
Business Events event and action logging using log4j
设置为log4j记录BusinessEvents事件和动作的日志
-
This separate version is due to technical circumstances involved with log4j logging .
需要这个单独的版本是由于与log4j日志记录相关的技术条件。
-
Log4j provides some documentation on its performance impact , along with methods to make code perform better .
Log4j提供了一些关于其性能影响的文档,以及如何改进性能的方法。
-
It 's contents depend on the log level specified in the log4j configuration .
它的内容取决于在log4j配置中指定的日志记录级别。
-
Just don 't forget the Log4j jar file , of course .
当然,不要忘记了Log4j的jar文件。
-
Two dependency declarations refer to Log4J : one for the code and one for a plug-in .
两个依赖项声明引用Log4J:一个用于代码,一个用于插件。
-
Packages such as Log4J ( see Resources ) provide different logging levels to minimize I / O.
Log4J之类的软件包(参见参考资料)提供了不同级别的日志记录来最小化I/O。
-
One example of a free implementation is log4j , which is well proven , fast , and versatile .
免费实现的一个例子就是log4j;它已得到很好的证明、快速并且通用。
-
Looking at the log4j documentation , you decide to set it to something more descriptive .
查看log4j文档,您决定将它设置为更具描述性的东西。
-
For instance , I used Apache 's log4J logging utility to log messages for debugging .
例如,我使用Apache的log4J日志记录实用程序记录消息,以便进行调试。
-
Note that the log4j property is no longer used in Business Events V7.0.1 and later releases .
注意,在BusinessEventsV7.0.1及之后的发行版中不再使用log4j属性。
-
Under the log4j folder , you should see the root MBean .
在log4j文件夹下,您应该可以看到根MBean。
-
The Log4j documentation provides ample discussion on writing your own custom appender .
Log4j文档对如何编写定制appender进行了详细的讨论。
-
You can also view Business Events logs in real time , using a log viewer that is compatible with log4j .
还可以使用与log4j兼容的日志查看器实时地查看BusinessEvents日志。
-
All you need to do is register the log4j MBean .
您所需做的只是注册log4jMBean。
-
Config , which contains all the sample 's XML configuration files ( mapping , Log4J , etc. )
包含样本的所有XML配置文件(映射、Log4J等)。
-
I chose a setting called log4j . prop ; this points to a file containing the setup .
我选择了一个名为log4j.prop的设置;这个设置指向一个包含此设置的文件。
-
If a project team asks me for a direct recommendation , I may suggest using log4j or commons logging .
如果一个项目团队要我给出直接的建议,我可能会建议使用log4j或CommonsLogging。
-
Log4j : A runtime logging library .
log4j:运行时日志库。
-
Changing log4j settings on the fly
动态更改log4j设置
-
This configuration is stored in a file called log4j . properties , which I simply pass to my code as a parameter .
这个配置存储在一个名为log4j.properties的文件中,我只是将它作为一个参数传递给代码。
-
This is done using LoggingOperations , which is an operations class for the log4j add-on .
这通过LoggingOperations完成,它是log4j附加组件的操作类。
-
Much of Perf4J 's extended functionality is made available through a set of custom log4j appenders .
Perf4J的扩展功能大部分通过一套定制的log4jappender提供。
-
After querying for Log4J dependencies , it 's a small step to retrieve the element in the same document .
在查询Log4J依赖项之后,一个小步骤是检索相同文档中的元素。
-
Now that you can see log4j through JMX , the next step is to adjust some of the logging settings .
现在可以通过JMX看到log4j了,下一步是调整一些登录设置。
-
This tutorial demonstrates how to use SLF4j over log4j in the applications targeted to run on Community Edition .
本教程将演示如何在运行于CommunityEdition的应用程序中在log4j上使用SLF4j。
-
It obtains the log4j property file and the location of the second bean through the system properties , which you can set as appropriate for your system .
它通过系统属性获得log4j属性文件和第二个bean的位置,您可以为自己的系统适当地设置这些属性。
-
So now let 's really dig into these logs and see the sorts of cool stuff that log4j can tell you .
下面让我们实际深入研究一下这些日志,看看log4j能告诉您哪些有趣的信息。
-
For instance , many of your projects probably rely upon a logging utility such as log4j or a Web framework such as Struts .
例如,许多项目可能依靠log4j等日志记录工具和Struts之类的Web框架。