2011/3/6 Mark Thomas <ma...@apache.org>:
> On 06/03/2011 19:54, Olivier Lefevre wrote:
>> It's quite unclear, when using ServletContext.log(...), how one can
>> specify the logging level.
>
> You can't.
>
>> Maybe it's impossible?
>
> It is. That logging API is close to useless. Use you favourite logging
> framework instead.
>

SevletContext.log(message) is logged as INFO
SevletContext.log(message, throwable) is logged as ERROR

(See o.a.catalina.core.ApplicationContext)

That is not much, but at least it is something.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to