|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
IIB 10 and Log4j |
« View previous topic :: View next topic » |
Author |
Message
|
vmanel |
Posted: Thu May 09, 2019 9:24 am Post subject: IIB 10 and Log4j |
|
|
Acolyte
Joined: 12 Mar 2019 Posts: 57
|
Hi,
We are using log4j for logging errors of IIB flows, IIB version is 10.0.0.13 and JRE is 1.8. We want to delete old log files based on certain days, which is not a functionality of log4j. So found a link which suggested to add a custom appender.
https://examples.javacodegeeks.com/enterprise-java/log4j/log4j-rotation-example/
Added this java class to jar file, and that jar file works fine for a simple java application, but when that jar is placed in /var/mqsi/shared class, and IIB errors are generated, logs are getting created, but older logs are not getting deleted. But if a jar works for a test application it should also be working for IIB, or is there any specific setup required to make it work in IIB? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|