diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj index 1ef4d0d..d9a70bc 100644 --- a/Cyberpipe.csproj +++ b/Cyberpipe.csproj @@ -1727,7 +1727,9 @@ SysRescInfoManager.cs - + + Always + SettingsSingleFileGenerator diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj index 1ef4d0d..d9a70bc 100644 --- a/Cyberpipe.csproj +++ b/Cyberpipe.csproj @@ -1727,7 +1727,9 @@ SysRescInfoManager.cs - + + Always + SettingsSingleFileGenerator diff --git a/Cyberpipe.suo b/Cyberpipe.suo index 5dffde4..c1d31ce 100644 --- a/Cyberpipe.suo +++ b/Cyberpipe.suo Binary files differ diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj index 1ef4d0d..d9a70bc 100644 --- a/Cyberpipe.csproj +++ b/Cyberpipe.csproj @@ -1727,7 +1727,9 @@ SysRescInfoManager.cs - + + Always + SettingsSingleFileGenerator diff --git a/Cyberpipe.suo b/Cyberpipe.suo index 5dffde4..c1d31ce 100644 --- a/Cyberpipe.suo +++ b/Cyberpipe.suo Binary files differ diff --git a/LogHelper.cs b/LogHelper.cs index d33199f..9ef5f27 100644 --- a/LogHelper.cs +++ b/LogHelper.cs @@ -2,7 +2,7 @@ using log4net; using log4net.Config; -[assembly: XmlConfigurator(ConfigFile = "log4net.config",Watch = true)] +[assembly: XmlConfigurator(ConfigFile = "config/log4net.config",Watch = true)] namespace Cyberpipe { public class LogHelper diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj index 1ef4d0d..d9a70bc 100644 --- a/Cyberpipe.csproj +++ b/Cyberpipe.csproj @@ -1727,7 +1727,9 @@ SysRescInfoManager.cs - + + Always + SettingsSingleFileGenerator diff --git a/Cyberpipe.suo b/Cyberpipe.suo index 5dffde4..c1d31ce 100644 --- a/Cyberpipe.suo +++ b/Cyberpipe.suo Binary files differ diff --git a/LogHelper.cs b/LogHelper.cs index d33199f..9ef5f27 100644 --- a/LogHelper.cs +++ b/LogHelper.cs @@ -2,7 +2,7 @@ using log4net; using log4net.Config; -[assembly: XmlConfigurator(ConfigFile = "log4net.config",Watch = true)] +[assembly: XmlConfigurator(ConfigFile = "config/log4net.config",Watch = true)] namespace Cyberpipe { public class LogHelper diff --git a/Utility.cs b/Utility.cs index bcc0bd4..68c90d1 100644 --- a/Utility.cs +++ b/Utility.cs @@ -470,7 +470,6 @@ } } } - #endregion #region 读取 filenameSensor "sensorConfig.xml" sensorMarkerLayers = new List(); diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj index 1ef4d0d..d9a70bc 100644 --- a/Cyberpipe.csproj +++ b/Cyberpipe.csproj @@ -1727,7 +1727,9 @@ SysRescInfoManager.cs - + + Always + SettingsSingleFileGenerator diff --git a/Cyberpipe.suo b/Cyberpipe.suo index 5dffde4..c1d31ce 100644 --- a/Cyberpipe.suo +++ b/Cyberpipe.suo Binary files differ diff --git a/LogHelper.cs b/LogHelper.cs index d33199f..9ef5f27 100644 --- a/LogHelper.cs +++ b/LogHelper.cs @@ -2,7 +2,7 @@ using log4net; using log4net.Config; -[assembly: XmlConfigurator(ConfigFile = "log4net.config",Watch = true)] +[assembly: XmlConfigurator(ConfigFile = "config/log4net.config",Watch = true)] namespace Cyberpipe { public class LogHelper diff --git a/Utility.cs b/Utility.cs index bcc0bd4..68c90d1 100644 --- a/Utility.cs +++ b/Utility.cs @@ -470,7 +470,6 @@ } } } - #endregion #region 读取 filenameSensor "sensorConfig.xml" sensorMarkerLayers = new List(); diff --git a/bin/x86/Debug/config/log4net.config b/bin/x86/Debug/config/log4net.config new file mode 100644 index 0000000..80f9b25 --- /dev/null +++ b/bin/x86/Debug/config/log4net.config @@ -0,0 +1,31 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj index 1ef4d0d..d9a70bc 100644 --- a/Cyberpipe.csproj +++ b/Cyberpipe.csproj @@ -1727,7 +1727,9 @@ SysRescInfoManager.cs - + + Always + SettingsSingleFileGenerator diff --git a/Cyberpipe.suo b/Cyberpipe.suo index 5dffde4..c1d31ce 100644 --- a/Cyberpipe.suo +++ b/Cyberpipe.suo Binary files differ diff --git a/LogHelper.cs b/LogHelper.cs index d33199f..9ef5f27 100644 --- a/LogHelper.cs +++ b/LogHelper.cs @@ -2,7 +2,7 @@ using log4net; using log4net.Config; -[assembly: XmlConfigurator(ConfigFile = "log4net.config",Watch = true)] +[assembly: XmlConfigurator(ConfigFile = "config/log4net.config",Watch = true)] namespace Cyberpipe { public class LogHelper diff --git a/Utility.cs b/Utility.cs index bcc0bd4..68c90d1 100644 --- a/Utility.cs +++ b/Utility.cs @@ -470,7 +470,6 @@ } } } - #endregion #region 读取 filenameSensor "sensorConfig.xml" sensorMarkerLayers = new List(); diff --git a/bin/x86/Debug/config/log4net.config b/bin/x86/Debug/config/log4net.config new file mode 100644 index 0000000..80f9b25 --- /dev/null +++ b/bin/x86/Debug/config/log4net.config @@ -0,0 +1,31 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bin/x86/Debug/log/2016/201611/20161116.txt b/bin/x86/Debug/log/2016/201611/20161116.txt new file mode 100644 index 0000000..d23f760 --- /dev/null +++ b/bin/x86/Debug/log/2016/201611/20161116.txt @@ -0,0 +1,8 @@ + + +��¼ʱ�䣺2016-11-16 15:06:52,549 +�߳�ID:[9] +��־���� ERROR +�����ࣺCyberpipe.Utility property: [(null)] - +����������������־ + diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj index 1ef4d0d..d9a70bc 100644 --- a/Cyberpipe.csproj +++ b/Cyberpipe.csproj @@ -1727,7 +1727,9 @@ SysRescInfoManager.cs - + + Always + SettingsSingleFileGenerator diff --git a/Cyberpipe.suo b/Cyberpipe.suo index 5dffde4..c1d31ce 100644 --- a/Cyberpipe.suo +++ b/Cyberpipe.suo Binary files differ diff --git a/LogHelper.cs b/LogHelper.cs index d33199f..9ef5f27 100644 --- a/LogHelper.cs +++ b/LogHelper.cs @@ -2,7 +2,7 @@ using log4net; using log4net.Config; -[assembly: XmlConfigurator(ConfigFile = "log4net.config",Watch = true)] +[assembly: XmlConfigurator(ConfigFile = "config/log4net.config",Watch = true)] namespace Cyberpipe { public class LogHelper diff --git a/Utility.cs b/Utility.cs index bcc0bd4..68c90d1 100644 --- a/Utility.cs +++ b/Utility.cs @@ -470,7 +470,6 @@ } } } - #endregion #region 读取 filenameSensor "sensorConfig.xml" sensorMarkerLayers = new List(); diff --git a/bin/x86/Debug/config/log4net.config b/bin/x86/Debug/config/log4net.config new file mode 100644 index 0000000..80f9b25 --- /dev/null +++ b/bin/x86/Debug/config/log4net.config @@ -0,0 +1,31 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bin/x86/Debug/log/2016/201611/20161116.txt b/bin/x86/Debug/log/2016/201611/20161116.txt new file mode 100644 index 0000000..d23f760 --- /dev/null +++ b/bin/x86/Debug/log/2016/201611/20161116.txt @@ -0,0 +1,8 @@ + + +��¼ʱ�䣺2016-11-16 15:06:52,549 +�߳�ID:[9] +��־���� ERROR +�����ࣺCyberpipe.Utility property: [(null)] - +����������������־ + diff --git a/config/log4net.config b/config/log4net.config new file mode 100644 index 0000000..80f9b25 --- /dev/null +++ b/config/log4net.config @@ -0,0 +1,31 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj index 1ef4d0d..d9a70bc 100644 --- a/Cyberpipe.csproj +++ b/Cyberpipe.csproj @@ -1727,7 +1727,9 @@ SysRescInfoManager.cs - + + Always + SettingsSingleFileGenerator diff --git a/Cyberpipe.suo b/Cyberpipe.suo index 5dffde4..c1d31ce 100644 --- a/Cyberpipe.suo +++ b/Cyberpipe.suo Binary files differ diff --git a/LogHelper.cs b/LogHelper.cs index d33199f..9ef5f27 100644 --- a/LogHelper.cs +++ b/LogHelper.cs @@ -2,7 +2,7 @@ using log4net; using log4net.Config; -[assembly: XmlConfigurator(ConfigFile = "log4net.config",Watch = true)] +[assembly: XmlConfigurator(ConfigFile = "config/log4net.config",Watch = true)] namespace Cyberpipe { public class LogHelper diff --git a/Utility.cs b/Utility.cs index bcc0bd4..68c90d1 100644 --- a/Utility.cs +++ b/Utility.cs @@ -470,7 +470,6 @@ } } } - #endregion #region 读取 filenameSensor "sensorConfig.xml" sensorMarkerLayers = new List(); diff --git a/bin/x86/Debug/config/log4net.config b/bin/x86/Debug/config/log4net.config new file mode 100644 index 0000000..80f9b25 --- /dev/null +++ b/bin/x86/Debug/config/log4net.config @@ -0,0 +1,31 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bin/x86/Debug/log/2016/201611/20161116.txt b/bin/x86/Debug/log/2016/201611/20161116.txt new file mode 100644 index 0000000..d23f760 --- /dev/null +++ b/bin/x86/Debug/log/2016/201611/20161116.txt @@ -0,0 +1,8 @@ + + +��¼ʱ�䣺2016-11-16 15:06:52,549 +�߳�ID:[9] +��־���� ERROR +�����ࣺCyberpipe.Utility property: [(null)] - +����������������־ + diff --git a/config/log4net.config b/config/log4net.config new file mode 100644 index 0000000..80f9b25 --- /dev/null +++ b/config/log4net.config @@ -0,0 +1,31 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/log4net.config b/log4net.config deleted file mode 100644 index 80f9b25..0000000 --- a/log4net.config +++ /dev/null @@ -1,31 +0,0 @@ - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -