This might be a stupid question but I am a bit lost with java Logger
private static Logger logger = Logger.getLogger(\"order.web.OrderManager\");
logger.inf
Where it goes is dependent on your configuration. There are details about this in the API docs. The log level is the exact reverse of what you said. If you have a configuration of FINE
, everything that is FINE, WARNING, SEVERE
will show up, but if you have it set to SEVERE
then only those will come up.
In general you should use FINE
while debugging and switch to SEVERE
when it is in a production environment.