atom feed13 messages in net.java.dev.appfuse.issues[JIRA] Commented: (APF-199) Reporting...
FromSent OnAttachments
Kevin Lwinmoe (JIRA)Oct 26, 2005 5:29 am 
Kevin Lwinmoe (JIRA)Oct 26, 2005 5:31 am 
Matt Raible (JIRA)Jan 9, 2006 3:53 am 
Matt Raible (JIRA)Jan 14, 2006 10:51 am 
Thomas Gaudin (JIRA)Apr 5, 2006 5:19 am 
Thomas Gaudin (JIRA)Apr 5, 2006 5:19 am 
Thomas Gaudin (JIRA)Apr 5, 2006 5:19 am 
Thomas Gaudin (JIRA)Apr 5, 2006 5:30 am 
Matt Raible (JIRA)Apr 5, 2006 10:18 am 
Thomas GaudinApr 5, 2006 10:44 am 
Thomas Gaudin (JIRA)Apr 5, 2006 10:46 am 
Matt Raible (JIRA)Apr 6, 2006 6:55 pm 
Thomas Gaudin (JIRA)Apr 7, 2006 1:14 am 
Subject:[JIRA] Commented: (APF-199) Reporting the application errors via email doesn't work with log4j.properties
From:Thomas Gaudin (JIRA) (iss@appfuse.dev.java.net)
Date:Apr 5, 2006 5:30:19 am
List:net.java.dev.appfuse.issues

[ http://issues.appfuse.org/browse/APF-199?page=comments#action_10654 ]

Thomas Gaudin commented on APF-199: -----------------------------------

I could reproduce it with 1.9

The reason seems to be the line :

log4j.appender.mail.From=@ERROR-SERVER@@raibledesigns.com which is replaced during build process by log4j.appender.mail.From=loca@raibledesigns.com my local mail server complains with "loca@raibledesigns.com"

Proposed fix (lets the user customize the adress with few changes in actual
version) :

1) add this property in build.properties : error.mailFrom=ju@raibledesigns.com

2) add this line in build.xml <filter token="ERROR-MAILFROM" value="${error.mailFrom}"/>

3) Replace in log4J.properties : log4j.appender.mail.From=@ERROR-SERVER@@raibledesigns.com by log4j.appender.mail.From=@ERROR-MAILFROM@

-- Thomas

Reporting the application errors via email doesn't work with log4j.properties -----------------------------------------------------------------------------

Key: APF-199 URL: http://issues.appfuse.org/browse/APF-199 Project: AppFuse Type: Bug

Components: Service Layer Versions: 1.8.2 Reporter: Kevin Lwinmoe Assignee: Thomas Gaudin Fix For: 1.9.1

Well, I found out that reporting the application errors via email feature
doesn't work after I configured the log4j.properties file. I configured
correctly but somehow it didn't work.