Topic: Log file not being generated
Hi,
I have a C#.net 3.5 windows service running on windows server 2008. If i run it from my development machine, the log files are being created. However once its up and running on the server, no logs are being generated. Is there a specific permision i need to enable on the server? Do i need to set/remove a setting from the config file?
The config file looks like this:
AppName = MyService
Connections = file(append="true", filename="trace.sil", maxparts="7", rotate="daily"), text(append="true", filename="trace.log", maxparts="7", rotate="daily", pattern="%timestamp% - %level,-7% - %title%", indent="true"), pipe(reconnect="true", reconnect.interval="1")
Enabled = True
The code to load the config file looks like this:
SiAuto.Si.LoadConfiguration(System.AppDomain.CurrentDomain.BaseDirectory + "config.sic");
SiAuto.Si.Enabled = true;
SiAuto.Main.EnterProcess();
Any help would be greatly appreciated
Many Thanks
Lee
