[FrontPage] [TitleIndex] [WordIndex

Logging in deegree2

Here's some quick info on deegree 2 not so hidden features concerning logging.

You can now use (starting from post-2.2 rev. 16083) the special variable ${context.name} in your log4j.properties files, enabling you to use automatic context specific logging like this:

log4j.appender.logfile.File=${java.io.tmpdir}/${context.name}.log

Please see the current log4j.properties template for example usage (it's commented out by default).

1. HowTo

Please read HowToUseTheLogPropertiesFileForDebugging, if you are running into problems with your webapp, but don't know the reason.


CategoryDeegree2


2018-04-20 12:04