You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by "Martin I. Levi" <ml...@labtie.mmt.upc.es> on 2004/04/28 13:36:19 UTC
Poor man trying to log....
Hi,
I would like to check OJBs logs but I really dont know how to configure
them. I found that in OJB.properties there is a definition which reads:
"LoggerConfigFile=log4j.properties"
Can any one tell me which is this files format?
The only thing Im sure is that I use PoorMansLoggerImpl and that this
class logs using a simple System.out.println(), i wonder which out is
this really because I dont see anything on my screen. :-)
Is there any documentation about OJBs logging I can read?
Help please! :-)
Greets,
Martin Ivan Levi
Universitat Politecnica de Catalunya
Centre Tecnologic de Transferencia de Calor
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
RE: Poor man trying to log....
Posted by "Martin I. Levi" <ml...@labtie.mmt.upc.es>.
That did the trick.
Merci beaucoup!
Greets,
Martin Ivan Levi
Universistat Politecnica de Catalunya
Centre Tecnologic de Transferencia de Calor
On Wed, 2004-04-28 at 16:25, Guillaume Nodet wrote:
> Your configuration file references log4j. You must
> create a log4j.properties file with the following content
>
>
> log4j.rootLogger=DEBUG,console
> log4j.appender.console=org.apache.log4j.ConsoleAppender
> log4j.appender.console.ImmediateFlush=true
> log4j.appender.console.Target=System.out
> log4j.appender.console.layout.ConversionPattern=[%d{HH:mm:ss,SSS}] %m%n
>
>
> Guillaume
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
RE: Poor man trying to log....
Posted by Guillaume Nodet <gu...@deliasystems.com>.
Your configuration file references log4j. You must
create a log4j.properties file with the following content
log4j.rootLogger=DEBUG,console
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.ImmediateFlush=true
log4j.appender.console.Target=System.out
log4j.appender.console.layout.ConversionPattern=[%d{HH:mm:ss,SSS}] %m%n
Guillaume
-----Message d'origine-----
De : Martin I. Levi [mailto:mlevi@labtie.mmt.upc.es]
Envoyé : mercredi 28 avril 2004 13:36
À : OJB Users List
Objet : Poor man trying to log....
Hi,
I would like to check OJBs logs but I really dont know how to configure
them. I found that in OJB.properties there is a definition which reads:
"LoggerConfigFile=log4j.properties"
Can any one tell me which is this files format?
The only thing Im sure is that I use PoorMansLoggerImpl and that this
class logs using a simple System.out.println(), i wonder which out is
this really because I dont see anything on my screen. :-)
Is there any documentation about OJBs logging I can read?
Help please! :-)
Greets,
Martin Ivan Levi
Universitat Politecnica de Catalunya
Centre Tecnologic de Transferencia de Calor
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org