The below snippet is taken from log4j.properties and am trying to understand how to leverage this feature.
- Un-comment the line below to enable logging for DWL components.
- To limit the output make the package name more specific.
- Add more entries like the one below to enable logging for multiple packages.
#log4j.logger.com.dwl=ERROR, file, stdout
Can someone kindly help me in understanding how this component of log4j.properties work and what is it supposed to do? My understanding is that this part helps me in overriding the root logger threshold for the package that I have configured. I have been trying to make this work, but just not getting any breakthrough.
Thanks in advance.