1

Well, I've already tried to add an entry on Glassfish's Console Configuration > server-config > Logger Settings but it doesn't seem to work.

What I'd like to do is logging in FINEST level just a set of classes under, for instance: br.com.mycompany.

Have anyone tried something like that?

Jaumzera
  • 2,305
  • 1
  • 30
  • 44
  • If `br.com.mycompany` is the name of the logger? What do you mean by setting a different log level for a set of application classes? You can set the level to a logger which you would have used while logging in the application classes. – da4kc0m3dy Feb 02 '17 at 19:05

1 Answers1

1

What I'd like to do is logging in FINEST level just a set of classes under, for instance: br.com.mycompany

Unless that logger was created by the code, setting the log level will not make any difference. You have to set the level on all the child loggers of br.com.mycompany or you have to write code to manually create that parent logger and hold a strong reference to it.

jmehrens
  • 10,580
  • 1
  • 38
  • 47