-
1. Re: Logging in JBoss 7 Final: SMTP possible?
riggs Jul 25, 2011 2:56 AM (in response to riggs)Sorry for pushing this topic, but this issue seems to be the only blocker for me going live with JBoss 7.
If it's not possible with the built in logging, does anyone know another way to receive mails when logging on warn/error level in JBoss 7?
-
2. Re: Logging in JBoss 7 Final: SMTP possible?
jamezp Jul 28, 2011 8:40 PM (in response to riggs)Hello Thomas,
Unfortunately this is supported. We might be doing something in the future to either support SMTP or have support for user defined handlers.
That said there might be a work-around. I'll try to see if I can hobble something together tomorrow and let you know.
--
James R. Perkins
-
3. Re: Logging in JBoss 7 Final: SMTP possible?
riggs Aug 1, 2011 9:15 AM (in response to jamezp)Thanks for your repsonse, James.
Have you found a workaround for this issue? (Should we raise a JIRA-Issue by the way?)
I could manage to send mails from my app programmatically through javax.mail api - the old-fashioned and ugly way. But I'd hate to do this.
Let me know if I can help in a way to get this running.
greetings
Thomas
-
4. Re: Logging in JBoss 7 Final: SMTP possible?
jamezp Aug 1, 2011 10:26 AM (in response to riggs)Hello Thomas,
I played with a little bit, but didn't have much time. I talked to some others on the team and they came up with an idea on how to get a hack working, but I need to try to implement it.
We probably should file a JIRA of some sorts. Feel free to assign it to me (James Perkins) if you do.
Hopefully maybe today or tomorrow I might have a chance to hack on it a bit and see what we can do for a temporary work-around.
--
James R. Perkins
-
5. Re: Logging in JBoss 7 Final: SMTP possible?
jamezp Aug 1, 2011 1:45 PM (in response to riggs)Thomas,
FWIW I went ahead and filed a JIRA to support user defined handlers, https://issues.jboss.org/browse/AS7-1438.
--
James R. Perkins
-
6. Re: Logging in JBoss 7 Final: SMTP possible?
abhishek.cse4u Dec 6, 2012 3:03 AM (in response to riggs)Can anybody please tell me the solution?? how to use "org.apache.log4j.net.SMTPAppender" for JBoss7.0 ??
Even JIRA ticket shows closed but I don't get any update here.
-:abhishek shrivastava
-
7. Re: Logging in JBoss 7 Final: SMTP possible?
abhishek.cse4u Dec 6, 2012 4:59 AM (in response to abhishek.cse4u)Looks it's fine:-->