-
I am during process of update my logging system from verions 2.2 to 3.0.0-beta1.
and Log class is:
For (very) earlier version this setup worked, but now I am even not sure if file log4j.xml is downoaded. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
If you call the configuration file Otherwise you need to use a system property:
|
Beta Was this translation helpful? Give feedback.
-
Are all those properties documented somwhere? |
Beta Was this translation helpful? Give feedback.
-
What about passing params to xml? And I don't see any folder that I expect in the desired place. |
Beta Was this translation helpful? Give feedback.
-
Additional proposition. |
Beta Was this translation helpful? Give feedback.
If you call the configuration file
log4j2.xml
and place it on the classpath, it will be automatically detected.Otherwise you need to use a system property:
log4j2.configurationFile
,log4j2.*.Configuration.file
,log4j.configuration
, was used in Log4j 1.x].