[
https://issues.apache.org/jira/browse/LOG4NET-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672064#action_12672064
]
Lukasz Antoniak commented on LOG4NET-194:
-----------------------------------------
Welcome again!
I have spent some time developing FileSystemWatcher class, and I wanted to
share my results. In the attachment I submit several things:
1) Classes that I have modified or added (XmlConfigurator.cs,
FileSystemWatcher.cs, FileSystemEventArgs.cs and RenamedEventArgs).
2) The compiled assembly (debug).
3) The whole Log4Net project (for MS Visual 2008). I have added classes
mentioned above to Util/FileSystemWatcher folder.
4) The simple test case project. The test works as follows: When the
application starts, the new Log4Net configuration file is being created and 2
messages logged. The form provides two buttons. The first one "Log" logs
messages, and the second "Change" modifies the configuration file, so that the
log messages are saved to a different location (look in the application
directory in "Program Files" folder).
Is there any possibility to add those changes in next Log4Net release?
Regards,
Lukasz Antoniak
> FileSystemWatcher for .Net Compact Framework
> --------------------------------------------
>
> Key: LOG4NET-194
> URL: https://issues.apache.org/jira/browse/LOG4NET-194
> Project: Log4net
> Issue Type: Improvement
> Components: Other
> Affects Versions: 1.2.10
> Environment: .Net Compact Framework 1.0/2.0/3.5
> Reporter: Lukasz Antoniak
> Priority: Minor
> Attachments: log4netcf.vs2008.dll, log4netcf.vs2008_20090210.zip,
> Log4NetTest_20090210.zip, Modified_Files_20090210.zip
>
>
> Welcome!
> I would like to suggest an improvement of Log4Net utility for .Net Compact
> Framework. The .Net CF 1.0/2.0/3.5 does not provide developers with
> FileSystemWatcher class. However there is nothing against implementing a
> simple class invoking SHChangeNotifyRegister API in Log4Net. I have recently
> started developing mobile applications and I regret lack of automatic
> reconfiguration feature in Log4Net .Net CF. I am quite familiar with
> SHChangeNotifyRegister API and I could try to modify XmlConfigurator class to
> support configuration file monitoring. What do you think of this idea?
> If there was an opportunity, I would like to contribute to Log4Net project.
> Regards,
> Lukasz Antoniak
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.