[
http://issues.apache.org/jira/browse/LOG4NET-39?page=comments#action_12314416 ]
Ron Grabowski commented on LOG4NET-39:
--------------------------------------
The COMPUTERNAME environment variable seems to contain the machine name on
Windows 2003 and Windows XP Professional.
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="${COMPUTERNAME} %5p %d - %m%n" />
</layout>
> Add pattern to output machine name
> ----------------------------------
>
> Key: LOG4NET-39
> URL: http://issues.apache.org/jira/browse/LOG4NET-39
> Project: Log4net
> Type: New Feature
> Components: Appenders
> Reporter: Michael Teper
>
> It would be very useful in a context of an email appender to be able to
> specify a "machine name" parameter as part of the layout in order to
> differentiate between messages coming from dev, stage, and production
> machines.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira