File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "log question" Watch "log question" New topic

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
jQuery in Action, 3rd edition
subject: log question
It's not a secret anymore!