eady logged into karaf.log
That's what has been logged into "new.log"
20:41:07,352 | INFO | qtp3901595-74| new |
rg.apache.camel.processor.Logger 213 | 51 - org.apache.camel.camel-core -
2.6.0 | Hello NewLogger
--
View this message in context:
http://camel.465427.n5.nabb
me.
And the first "new" is the log category name used in the Java code.
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Log-into-an-additional-file-at-Apache-Karaf-using-DSL-tp4600390p4600588.html
> Sent from the Camel Development mailing
JUST in that case to go and log into the new.log
--
View this message in context:
http://camel.465427.n5.nabble.com/Log-into-an-additional-file-at-Apache-Karaf-using-DSL-tp4600390p4600588.html
Sent from the Camel Development mailing list archive at Nabble.com.
{1} | %-32.32C %4L | %m%n
log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
log4j.appender.sift.appender.append=true
--
View this message in context:
http://camel.465427.n5.nabble.com/Log-into-an-additional-file-at-Apache-Karaf-using-DSL-tp4600390p4600564.html
Sent f
log4j.appender.new.maxFileSize=1MB
> log4j.appender.new.maxBackupIndex=10
>
> Regarding the 2nd Step :
> Is that what u meant :
>
> log4j.rootLogger=INFO,new, osgi:VmLogAppender
>
>
>
> --
> View this message in context:
> http://camel.465427.n
message in context:
http://camel.465427.n5.nabble.com/Log-into-an-additional-file-at-Apache-Karaf-using-DSL-tp4600390p4600498.html
Sent from the Camel Development mailing list archive at Nabble.com.
g
> the karaf.log , I got this :
>
> Jul 18, 2011 6:00:03 PM org.apache.karaf.main.SimpleFileLock lock
> INFO: locking
> The question is : how could I log into"new.log" just in case a specific
> processor . Others will be logged into the karaf.log !!
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Log-into-an-additional-file-at-Apache-Karaf-using-DSL-tp4600390p4600390.html
> Sent from the Camel Development mailing list archive at Nabble.com.
.log" file . Regarding
the karaf.log , I got this :
Jul 18, 2011 6:00:03 PM org.apache.karaf.main.SimpleFileLock lock
INFO: locking
The question is : how could I log into"new.log" just in case a specific
processor . Others will be logged into the karaf.log !!
--
View this message in