Hello,
I try to create my own appender but when i start my servicemix 4.3.0
it seems that dosen't write log file.

This is what i done :

I have define my log4j.properties

log4j.rootLogger=INFO, FILE
log4j.appender.FILE=org.apache.log4j.FileAppender
log4j.appender.FILE.File=mylFilelog.log
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n%M

then i have create a jar using this manifest

Manifest-Version: 1.0
Fragment-Host: org.ops4j.pax.logging.pax-logging-service
Bundle-Version: 1.0.0
Bundle-Name: Log4J Configuration
Created-By: 1.6.0_24 (Sun Microsystems Inc.)
Bundle-ManifestVersion: 2
Bundle-SymbolicName: it.myfragment.log

my service is active

[   3] [Active     ] [            ] [       ] [    8] OPS4J Pax Logging - API (1
.5.3)
[   4] [Active     ] [            ] [       ] [    8] OPS4J Pax Logging - Servic


then i have install it as bundle and i have restart servicemix
but .... i don't see my log file ?

Where am i wrong ?

Thanks for help


cheers
--Filippo

Reply via email to