|
Hi Support Team,
I'm trying to "drag" my .exe into the Log4View application so It can automatically detect my NLog targets. This works fine if my configuration is embedded directly into the app.config
However, I am trying to keep my NLog configuration in its own separate file (NLog.config)
I have added the following into my app.config to try to make this work:
Under <configSections> I have:
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
and I have the nlog configuration block as the following:
<nlog configSource="NLog.config" />
When I drag my .exe into the Log4View program, I get :
"The selected application has no log appenders configured, which can be read by Log4View.
Log4View can use appenders which:
-are of type (Rolling)FileAppender, UdpAppender or TcpAppender;
-use XML or pattern layout
Other layouts cannot be parsed by Log4View"
How can i achieve dropping the .exe into Log4View, have the whole NLog config in its own
file, yet linked through app.config?
Regards,
Marek
|