From: Chris H. <ch...@op...> - 2005-05-27 09:58:24
|
If you just comment out the line that starts the log4jformater then it should pick up your jvm levels, in the logging.properties file. You can specify package levels and whatnot there. Perhaps we should have a config option to completely turn f the log4j formatter logging. The thought behind it was to allow users to easily configure through the web app, but it is at the price of more fine grained control for programmers. I do sort of want to use commons logging or some such, I'm not in love with java logging... Chris On Fri, 27 May 2005, Artie Konin wrote: > Greetings, all. > > I've got a problem here trying to configure individual loggers in > GeoServer so that they have different log level. After spending some > time reading related docs I started to doubt that this is possible at > all with Sun's logging implementation (it seems to be configured at > JVM level - not very exciting). Besides, as you probably know, there > is another "level flattening" taking place in Log4jFormatter class, > which makes things even harder to change. > > I believe it is still possible to change this one-log-level-for-all > behavior programmatically, but that'll require a lot of changes in the > code and I'm not too happy thinking I'll have to apply them all after > each svn update :) > > So may be I just missed a way to configure GeoServer logging in more > fine grained fashion? If so, any hints on how to do this will be > appreciated. > > -- |