Hi Chris,
Jersey uses JDK logging. See here:
http://java.sun.com/javase/6/docs/technotes/guides/logging/overview.html
All Jersey-based logging uses loggers starting with names starting
with "com.sun.jersey". In code you should be able to do something like
this:
for (String l :
Collections.list(LogManager.getLogManager().getLoggerNames())) {
if (l.startsWith("com.sun.jersey")) {
Logger.getLogger(l).setLevel(Level.OFF);
}
}
Paul.
On May 28, 2010, at 10:47 PM, Chris Richter wrote:
> Hi everyone,
>
> I'm using the jersey framework for my master thesis and everything
> works
> well at the moment. I have only one little problem. I like to turn off
> the logging messages of jersey but I didn't found a way to do this. I
> searched in the Internet for a while but I can't find a solution.
>
> I hope someone can tell me way to solve my problem. Thanks a lot.
>
> With kind regards
>
> Chris Richter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>