Issue Details (XML | Word | Printable)

Key: LOG4NET-13
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Nicko Cadell
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Log4net

Allow SMTPAppender to have replaceable parameters in Subject

Created: 01/Mar/05 08:10 AM   Updated: 15/Nov/09 04:49 PM
Return to search
Component/s: Appenders
Affects Version/s: 1.2.9
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

Environment: From sourceforge - 749620 - Jeremy Wiebe - jeropa

Resolution Date: 30/Aug/05 07:44 AM


 Description  « Hide
It would be helpful to be able to have parameters that
are replaced on a per-log event basis on the Subject
line for the SMTPAppender.

Example:
I have multiple web servers running a .NET web service
and all use log4net. When an error occurs, they use the
SMTPAppender to notify me. It would be very useful to
include the host name of the sender in the subject line
so that I could easily determine which web server had
an error instead of having to look into the email.

In thinking more about this it could either be the
Subject line or the From line that has replacable
parameters. Perhaps even make it so that these
properties can use the <layout> tag.

Jeremy Wiebe - jeropa

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.