Hi there,
I must be doing something wrong, here is the example of session bean:
package mycompany.core.services;
@Stateless
public class TestBean implements TestLocal {
Logger logger = Logger.getLogger(getClass().toString());
public void test() {
logger.info("Hello there");
}
}
I launch application, invoke test and in output I can see "Hello there".
But later, I have opened admin console:
Application Server -> Logging -> Log levels -> add property:
name:
mycompany.core.services
value:
SEVERE
And "hello there" appears every time I invoke test method.
What's wrong?
Regards,
Witold Szczerba