You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by John Cole <jo...@uai.com> on 2004/08/20 21:37:42 UTC

logging to a textbox...

Hello,
  I've been able to get simple logging (console and text file) working, but
I would like to have a GUI application log to a file and a textbox.
 
  Logging to the file is no problem, but I'm a little confused as to which
appender I should use and how I should use it.
 
  I've thought about putting a file watcher on the log file, but that seems
a bit inelegant.  I'd like to have an event fired from the logger and handle
it on my form with the textbox (or better yet, the RichTextBox).
 
  What is the best way to accomplish logging to a text box and a text file?
 
Thanks,
 
John Cole

-------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.