Hello, i want Axon Ivy to send an Email when there is an error so i added this code to "log4jconfig.xml":
The FileLog works but i dont receive the email. When i change the order to this:
then the FileLog and the MailAppender doesn't work. What should i do? Edit: Do i have to add mail.jar and activation.jar to my build path in Axon Ivy? In Eclipse i added them to lib and it worked but i don't know how to integrate them to Axon Ivy. Edit2: With Log4j debug=true i get this Error in my logfile: asked 03.01.2019 at 05:05 karstenk |
You can try the following:
answered 20.03.2019 at 05:40 Reto Weiss ♦♦ |
The log appender must be made compatible with our OSGi java runtime environment. This means that you have to enrich the JAR that supplies the appender with dependencies to our log infrastructure and register it as buddy of our A full blown example is accessible here: https://github.com/ivy-samples/ivy-extension-demos/tree/master/CustomLogAppender answered 22.01.2019 at 04:37 Reguel Werme... ♦♦ The SMTP Appender i want to use is a default Appender from Log4j (like the Console Appender). I don't want to build a custom Appender. Is it necessary to build a custom Appender to use the SMTP Appender?
(22.01.2019 at 08:55)
karstenk
Ok I see. The access from the
(29.01.2019 at 03:07)
Reguel Werme... ♦♦
I have Version 7.2.1. I don't have the folder util in my project explorer like in the screenshot. And when I open the file with the Plugins View, I can't edit the Manifest.mf.
(29.01.2019 at 14:58)
karstenk
Ok thanks for the version info.
My screenshot should just serves as an example on what to write into the Manifest.MF (and focuses to 7.0 users). But the procedure for 7.2.1 is different:
Open the
(30.01.2019 at 02:44)
Reguel Werme... ♦♦
I changed the File in Axon Ivy\plugins\ch.ivyteam.lib.util_7.2.0.201810151000\META-INF\MANIFEST.MF The File looks ends like this: ... Created-By: Apache Maven 3.5.2 Build-Jdk: 1.8.0_151 Eclipse-BundleShape: dir Eclipse-RegisterBuddy: commons.lib I still get the same error.
(05.02.2019 at 05:21)
karstenk
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 03.01.2019 at 05:05
Seen: 5,567 times
Last updated: 20.03.2019 at 05:40
May be you defined the appender at the wrong location in the log4jconfig.xml? All Appenders must be together!
Thanks for your answer but all Appenders are together.