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.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.