'Log4net in WPF desktop application log folder issues

When WPF desktop application installed on system , install folder not have proper permission to create log file . We not want to use event log as we need to register for Event Log event fist . That also making some issue .

How to create file and save log for installed Desktop application ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source