Based on the answer from:


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 ( to {engine_dir}/plugins. But it doesn't work.

Do I miss anything?

asked 26.09.2019 at 04:23

dieuph's gravatar image

accept rate: 0%

What is exactly your config you tried (generally we support only xml config for logging)?

(27.09.2019 at 07:27) SupportIvyTeam ♦♦ SupportIvyTeam's gravatar image

You can already configure the file name in the standard: org.apache.log4j.DailyRollingFileAppender.

(01.10.2019 at 03:02) SupportIvyTeam ♦♦ SupportIvyTeam's gravatar image

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

(01.10.2019 at 23:30) dieuph dieuph's gravatar image

Here is the very good example how could you extend Axon Ivy features (log4j to be concrete).

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's gravatar image

accept rate: 100%

edited 01.10.2019 at 00:20

Yes just copying a jar file to the plugins folder is not enough!

(01.10.2019 at 03:02) SupportIvyTeam ♦♦ SupportIvyTeam's gravatar image

Thank you for your suggestion @qtdan93, It could work.

(01.10.2019 at 23:31) dieuph dieuph's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 26.09.2019 at 04:23

Seen: 486 times

Last updated: 01.10.2019 at 23:31