Re: Issues with java.util.logging
Andy Yates <[email protected]> Wed, 07 Jun 2006 09:53:34 +0100
| Newsgroups | gmane.text.xml.resin.user |
|---|---|
| Message-ID | <[email protected]> |
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 last one is my own code so the log levels should be fairly verbose
for a test system. All calls to the logger are going through commons-log
and I even forced commons log to send to the Jdk1.4 logger. None of this
worked so I was left with using log4j & getting it to append to stdout
which seems to have done the trick but it is by no way ideal.
Anyone else encountered this problem?
Cheers,
Andy
Earl, Michael wrote:
> Hello All,
>
> We recently migrated from Tomcat to Resin. We are now discovering that
> for some reason ALL of our classes are creating log messages at ALL
> levels. This did not happen nor does it still happen with Tomcat --
> with the same code. We love Resin by the way so this is not a
> complaint. I am seeking to understand why this is happening. I have
> added the following to our resin config file:
>
> <logger name="com.hp.sfng" level="info" path='stdout:'
> timestamp='[%H:%M:%S.%s] '/>
>
> This had no effect, all classes are sending log messages.
>
> Thanks for any help,
>
> Mike.
>
> ---------------------------------------------------
> Michael Earl "For whoever exalts
> Software Engineer himself will be humbled,
> GO-IT MBP/SF and whoever humbles
> Bldg R4 himself will be exalted."
> HP, Roseville CA
> +1-916-748-7958 work Matthew 23:12
> +1-916-671-4466 cell
> ---------------------------------------------------
>
>