gdziadkiewicz commented on issue #263:
URL: 
https://github.com/apache/logging-log4net/issues/263#issuecomment-3170667745

   Hi @ringchenhao , sorry for the long delay!
   
   Please find the configuration that worked for me here  
https://github.com/gdziadkiewicz/TestLogApp  . Please notice that I'm using ` 
XmlConfigurator.Configure(FileInfo)` overload to explicitly specify the path to 
the config file. It is a workaround for the fact that log4net is not 
establishing the config file path correctly in a single-file deploy scenario.
   
   You can clone the repo, run steps.ps1 and see if it works for you.
   
   <img width="3835" height="2009" alt="Image" 
src="https://github.com/user-attachments/assets/be0f1439-e1a7-49ce-9ff2-150c528c8c30";
 />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to