for us to Upgrade Karaf with other versions as
it is already distributed in multiple instances.
Thanks,
Jyothi
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Working with Karaf 4.0.5. Didn't work on other versions.
Tested with appender to the root logger and also removing spaces. It worked
when removing spaces. But spaces are coming from Karaf script like below.
config:edit org.ops4j.pax.logging
config:property-set log4j.appender.custom.file
Hi JB,
Sorry couldn't mail, please find the complete pax logging file here and as
said this issue is in Windows environment
# Root logger
log4j.rootLogger = INFO, out, osgi:*
log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
# Security audit logger
Hi JB!!
Mailed you the pax logging file and this issue is reproducible in Windows
environment.
Regards,
Jyothi
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
log4j.appender.custom.maxFileSize = 1MB
log4j.logger.com.exception = INFO,custom
log4j.logger.com.logger = INFO,custom
Thanks & Regards,
Jyothi
<http://karaf.922171.n3.nabble.com/file/t497873/304e50db-7e19-4e90-9e02-79d3f85acb26.jpg>
--
Sent from: http://karaf.922171.n3.nabble.com/
Sorry for the delay.. Back from vacation !!
Configuring appender in this way in pom and importing org.apache.log4j in
. Please let me know if I answered you properly
org.ops4j.pax.logging
pax-logging-service
1.8.4
provided
org.ops4j.pax.logging
Hi,
I didn't add custom to rootLogger.Do I need to add it?
Yes I restarted Karaf after the changes and this issue happened only on two
machines and not reproduced in other machines.
Thanks,
Jyothi.
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Thank you so much JB!!
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Hi JB!!
Sorry for disturbing you frequently on this !!
Please let me know if I can track of this JIRA issue?
Regards,
Jyothi.
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Hi JB!!
Can we know if you got a chance to check the spaces issue in Pax Logging?
Thanks & Regards,
Jyothi.
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
log4j.appender.custom.file
'${karaf.data}/log/custom.log'
config:property-set log4j.appender.custom.append true
config:property-set log4j.appender.custom.maxFileSize 1MB
config:property-set log4j.appender.custom.maxBackupIndex 10
config:update
Thanks & Regards,
Jyothi
--
Sent from: http://karaf.92217
Hi JB!!
We are using karaf-4.0.5.
Thanks & Regards,
Jyothi.
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Hi JB,
Thanks for the quick response!!
Regarding spaces, that is generated one using config:property-append from
Karaf console. I will try to remove spaces and check if it works!!
Please find my complete pax logging config and I didn't added anything to
rootLogger. Do I need to add custom to
Hi,
I have configured for a custom log in pax logging in Karaf as follows and
found the size of the custom log is not restricted to 1 MB and increasing.
Can you please let us know what could be the issue? Thanks in advance
log4j.appender.custom = org.apache.log4j.RollingFileAppender
Hi,
I want to have a custom log level in Karaf, wanted something above INFO. Is
that possible?
--
View this message in context:
http://karaf.922171.n3.nabble.com/Custom-Level-Log-in-Karaf-tp4050937.html
Sent from the Karaf - User mailing list archive at Nabble.com.
15 matches
Mail list logo