public QlikViewExtensionServer() { InitializeComponent(); int maxLogLvl = Convert.ToInt32(ConfigurationManager.AppSettings["maxLogLvl"]); int dfltLogLvl = Convert.ToInt32(ConfigurationManager.AppSettings["dfltLogLvl"]); myCore.WindowsEventLogging lHostConsole = new myCore.WindowsEventLogging("QlikView Extension Server", "QlikView Extension Server", maxLogLvl, dfltLogLvl); myCore.Logging.addLogging(lHostConsole); myCore.FileSystemLogging lHostFile = new myCore.FileSystemLogging( Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "log"), "log", true, 10, 6 ); myCore.Logging.addLogging(lHostFile); lib.init(); }
public QlikViewExtensionServer() { InitializeComponent(); int maxLogLvl = Convert.ToInt32(ConfigurationManager.AppSettings["maxLogLvl"]); int dfltLogLvl = Convert.ToInt32(ConfigurationManager.AppSettings["dfltLogLvl"]); myCore.WindowsEventLogging lHostConsole = new myCore.WindowsEventLogging("QlikView Extension Server", "QlikView Extension Server", maxLogLvl, dfltLogLvl); myCore.Logging.addLogging(lHostConsole); myCore.FileSystemLogging lHostFile = new myCore.FileSystemLogging( Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "log"), "log", true, 10, 6 ); myCore.Logging.addLogging(lHostFile); lib.init(); }