Link to home
Start Free TrialLog in
Avatar of moonshot
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.
Avatar of Mick Barry
Mick Barry
Flag of Australia image

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
Avatar of Jim Cakalic
Jim Cakalic
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes, the log-file has to be defined somewhere - check your configuration and properties-files.