Re: Issues with java.util.logging
Scott Ferguson <[email protected]> Wed, 14 Jun 2006 10:11:04 -0700
| Newsgroups | gmane.text.xml.resin.user |
|---|---|
| Message-ID | <[email protected]> |
On Jun 14, 2006, at 1:39 AM, Andy Yates wrote:
> That seems a lot more like it by the looks of things. Any idea on
> when 3.0.20 is going to be released?
Roughly 4-6 weeks. There are still quite a few bugs to work through,
though, so it might change.
-- Scott
>
> Andy
>
> Scott Ferguson wrote:
>> On Jun 7, 2006, at 1:53 AM, Andy Yates wrote:
>>> I've had similar problems with the resin logging levels in that
>>> it just ignores any kind of sub declaration of logging. For
>>> instance I had the following levels setup:
>>>
>>> <log path='stdout:' timestamp='[%H:%M:%S.%s] '>
>>> <logger name="" level="info"/>
>>> <logger name="org.springframework" level="severe"/>
>>> <logger name="org.apache" level="severe"/>
>>> <logger name="uk.ac.sanger" level="fine"/>
>>> </log>
>> The Resin 3.0.20 changes will allow/suggest a different
>> configuration:
>> <log path="stdout:" level="all" timestamp="[%H:%M:%S.%s] "/>
>> <logger name="" level="info"/>
>> <logger name="org.springframework" level="severe"/>
>> <logger name="org.apache" level="severe"/>
>> <logger name="uk.ac.sanger" level="fine"/>
>> The <log> tag configures a log Handler. In this case, it's the
>> destination for any active Loggers.
>> The <logger> tag configures the Logger. So the latest <logger> is
>> equivalent to:
>> Logger.getLogger("uk.ac.sanger").setLevel(Level.FINE);
>> I think this is closer to what you want to configure.
>> -- Scott
>