Hello all I have a problem in my application.
I use log4j and Restlet, but I think Restlet not log all that should ...

I often have 2 poor logs lines, example:
15 oct. 2012 10:57:30 org.restlet.engine.http.connector.HttpClientHelper start
INFO: Starting the default HTTP client
15 oct. 2012 10:57:30 org.restlet.engine.http.connector.HttpClientHelper stop
INFO: Stopping the default HTTP client

Or:

15 oct. 2012 10:54:47 org.restlet.engine.log.LogFilter afterHandle
INFO: 2012-10-15    10:54:47     127.0.0.1    e-deal 127.0.0.1    8080   POST   
    /Hub/service/urltracking/TRACKURL -      200    36     56     14021  
http://localhost:8080       Restlet-Framework/2.0.8    -
15 oct. 2012 10:54:47 org.restlet.ext.net.HttpClientHelper stop
INFO: Stopping the HTTP client

not super useful trick I like to have more logs, to really see if something 
really happens. Is there a way to log as possible?

For example I my log4j.properties I have these following lines, but nothing 
happens, it continued to remain at INFO Level:

###############################################################################
# Loguer dans la console
###############################################################################
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.logger.com.edeal.frontline.services.cti.impl.algoria=ERROR
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d %-4r [%t] %-5p %c %x - %m%n
log4j.org.restlet=FINEST, CONSOLE
log4j.logger.org.restlet=FINEST, CONSOLE
logger.org.restlet=FINEST, CONSOLE
org.restlet=FINEST, CONSOLE

# ------------------
# Loggers properties
# ------------------

.level=FINEST
org.mortbay.level=FINEST
org.restlet.level=FINEST
com.noelios.level=FINEST

com.noelios.web.WebComponent.www.level=FINEST
com.noelios.web.WebComponent.www.useParentHandlers=true



Thank and best regards,

Bien cordialement,

[cid:image002.png@01CDAAC6.EC30A570]<http://e-deal.biz/kd/9eZ>

[cid:image003.png@01CDAAC6.817DE350]<http://e-deal.biz/kd/UOh>[cid:image004.png@01CDAAC6.817DE350]<http://e-deal.biz/kd/X9Q>[cid:image005.png@01CDAAC6.817DE350]<http://e-deal.biz/kd/bTG>

Adrien RUFFIE
Ingénieur R&D

40, rue du Village d'Entreprises
31670 Labège
www.e-deal.com<http://www.e-deal.com/>


LD : +33 1 73 03 29 50
Std : +33 1 73 03 29 80
Fax : +33 1 73 01 69 77
a.ruf...@e-deal.com <mailto:a.ruf...@e-deal.com>


E-DEAL soutient le Pacte Mondial de l'ONU<http://e-deal.biz/kd/mPQ>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3020728

<<inline: image003.png>>

<<inline: image004.png>>

<<inline: image005.png>>

<<inline: image002.png>>

Reply via email to