karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jyothi <jyo...@promantia.com>
Subject Re: custom log file size not restricted
Date Fri, 15 Dec 2017 07:26:28 GMT
Hi JB!!

When we removed spaces it worked!! Thanks for that.

But the config file content is generated using below script or ConfigMBean
update method.Can you please tell how can we remove the spaces without
manual action?

Ex:
config:edit org.ops4j.pax.logging
config:property-set 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.922171.n3.nabble.com/Karaf-User-f930749.html

Mime
View raw message