Based on the answer from: And: https://stackoverflow.com/questions/5117758/configuring-rollingfileappender-in-log4j I see we could customize the file name of the separated log file by using org.apache.log4j.rolling.RollingFileAppender instead of org.apache.log4j.RollingFileAppender Then I try to add log4j-extras (https://mvnrepository.com/artifact/log4j/apache-log4j-extras/1.2.17) to {engine_dir}/plugins. But it doesn't work. Do I miss anything? asked 26.09.2019 at 04:23 dieuph |
Here is the very good example how could you extend Axon Ivy features (log4j to be concrete). https://github.com/ivy-samples/ivy-extension-demos Because the log4j need to be loaded and initialized when the engine start. So you need to prepare your plugins jar file to meet some of the Ivy requirements. answered 01.10.2019 at 00:19 qtdan93 Yes just copying a jar file to the plugins folder is not enough!
(01.10.2019 at 03:02)
SupportIvyTeam ♦♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 26.09.2019 at 04:23
Seen: 2,125 times
Last updated: 01.10.2019 at 23:31
What is exactly your config you tried (generally we support only xml config for logging)?
You can already configure the file name in the standard: org.apache.log4j.DailyRollingFileAppender.
I want to combine a rotate log file based on date time and file size also. That why I try to put log4j-extras into Ivy Engine. Anyway, the answer from qtdan93 could help. Thank you for your suggestion <3