moonshot
asked on
LogFactory and Log
First off, let me state I'm not a Java programmer. I'm integrating some ASP .NET code with a Java Web App.
My question is about the following line:
private static Log log = LogFactory.getLog (myclass.class);
and then they use log.error(e) or log.debug....etc.
My question is, is this creating an actual log file somewhere on the system? I want to be able to check it for errors if indeed that's what it's for.
Thanks.
My question is about the following line:
private static Log log = LogFactory.getLog (myclass.class);
and then they use log.error(e) or log.debug....etc.
My question is, is this creating an actual log file somewhere on the system? I want to be able to check it for errors if indeed that's what it's for.
Thanks.
the definition of the actually logger that will be written to will be in yourt loggoing config file, it may be going to a log file or it may not.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, the log-file has to be defined somewhere - check your configuration and properties-files.