I have an application log4net implemented and running on Windows 8. When I run the application after loging in as local administrator the logs are being created; following are the log4net debug entry for it :
log4net: Creating repository [log4net-default-repository] using type [log4net.Repository.Hierarchy.Hierarchy]
log4net: configuring repository [log4net-default-repository] using file [.\Resources\Configuration\LoggerConfig.xml]
log4net: configuring repository [log4net-default-repository] using stream
log4net: loading XML configuration
log4net: Configuring Repository [log4net-default-repository]
log4net: Configuration update mode [Merge].
But when the application runs on another account it stops creating logs; the log4net debug info as follow :
log4net: Creating repository [log4net-default-repository] using type [log4net.Repository.Hierarchy.Hierarchy]
log4net: configuring repository [log4net-default-repository] using file [.\Resources\Configuration\LoggerConfig.xml]
log4net: config file [C:\Windows\system32\Resources\Configuration\LoggerConfig.xml] not found. Configuration unchanged.
I then right clicked on the exe of the application and from compatibility mode checked to run as administrator. Still no luck. Can anybody please suggest exactly what and where I need to check ?