You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by Senthil Sivasubramanian <Se...@headstrong.com> on 2005/07/21 10:37:48 UTC

File logging

I am using DOM configurator for configuring log4net settings from a config
file in my application. I use File Appender for recording the logs in a
file.

 

Is it possible for programmatically changing the file name sometime after
the application is started?

 

Specifically, I want to know how can I programmatically set the File
property of the File Appender.

 

Thank you.

*************The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material.  Any review,retransmission,dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.*********************