It's not a secret anymore!*
The moose likes Java in General and the fly likes log question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "log question" Watch "log question" New topic
Author

log question

vitesse wei
Ranch Hand

Joined: Sep 07, 2007
Posts: 100
I have a legacy web application that use Java log "java.util.logging.Logger"
recently I create another EJB module project (jar),extended web app use this EJB module.
when I deploy I put both web app and EJB module into one Enterprise Application project(ear),
my question is that how can I implement log for my EJB project,continue use Java log like web app?,log into same file? or should i use different log file for EJB?
or change that java log to Log4J,so still same log file or different log file?
if it is one same log file,should I implement in sub projects level or top project level?

thanks ranchers.

SCJP 5.0<br />SCWCD1.4<br />SCBCD5
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: log question
 
Similar Threads
security
How to use Log4j - single log file for 6 j2ee modules in a project
log4j.properties file for a project with multiple modules
Loading sequence of the different modules in an EAR....?
How to use Log4j - single log file for 6 j2ee modules in a project