![]() You have to configure everything through log4j.xml. When Log4j logging is enabled, none of the logging properties described in the previous section will be used. If the Log4j classes are not found, the built-in logging will be used (see above). When you turn on Log4j logging, you must copy copy the Log4j 2.x libraries as log4j-api.jarĪnd log4j-core.jar into the ext directory.ĭo not include the version number in the filename. log4j.xml without any path information), then it is assumed to be relative to the If the filename denotes a relative filename When passing a configuration file through this property, you can use a system property as part of the filename To Log4j by setting the system property nfigurationFile to contain If you specify a configuration file, this will be "passed" Must be accessible to Log4J in the classpath. If you just pass true as the value for this property, the Log4j configuration file
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |