Title: problem with fileappender

I don't understand how you make the fileappender write the log to a different name other than log-file.txt.

My config file contains this:

<appender name="MyFirstFileAppender"
type="log4net.Appender.FileAppender">
<file value="c:\\zTestfile.txt" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%5p %d (%c:%L) - %m%n" />
</layout>
</appender>

Doesn't the file parameter set the location and name of the file?

Thanks
Rut


CONFIDENTIALITY NOTE: This e-mail message, including any
attachment(s), contains information that may be confidential,
protected by the attorney-client or other legal privileges, and/or
proprietary non-public information. If you are not an intended
recipient of this message or an authorized assistant to an intended
recipient, please notify the sender by replying to this message and
then delete it from your system. Use, dissemination, distribution,
or reproduction of this message and/or any of its attachments (if
any) by unintended recipients is not authorized and may be unlawful.

Reply via email to