parent
e31017f2f3
commit
89a87cc169
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"runtimeOptions": {
|
|
||||||
"tfm": "net6.0",
|
|
||||||
"frameworks": [
|
|
||||||
{
|
|
||||||
"name": "Microsoft.NETCore.App",
|
|
||||||
"version": "6.0.0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Microsoft.AspNetCore.App",
|
|
||||||
"version": "6.0.0"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"configProperties": {
|
|
||||||
"System.GC.Server": true,
|
|
||||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"Logging": {
|
|
||||||
"LogLevel": {
|
|
||||||
"Default": "Information",
|
|
||||||
"Microsoft.AspNetCore": "Warning"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,153 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<log4net>
|
|
||||||
<!-- 控制台日志配置 -->
|
|
||||||
<appender name="Console" type="log4net.Appender.ConsoleAppender">
|
|
||||||
<!-- 日志输出格式 -->
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
<conversionPattern value="%date %5level [%thread] (%file:%line) - %message%newline"/>
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
<!-- 文件存储日志配置 -->
|
|
||||||
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
|
|
||||||
<!-- 保存文件的名称 -->
|
|
||||||
<file value="logs\WebApi.log"/>
|
|
||||||
<appendToFile value="true"/>
|
|
||||||
<!-- 文件的编码方式 -->
|
|
||||||
<param name="Encoding" value="UTF-8"/>
|
|
||||||
<!-- 每个文件的大小 -->
|
|
||||||
<maximumFileSize value="100MB"/>
|
|
||||||
<!-- 保存文件数量 -->
|
|
||||||
<maxSizeRollBackups value="2"/>
|
|
||||||
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
|
|
||||||
<!-- 日志输出格式 -->
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
<conversionPattern value="%date %level %thread %logger - %message%newline"/>
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
<root>
|
|
||||||
<level value="ALL"/>
|
|
||||||
<appender-ref ref="Console"/>
|
|
||||||
<appender-ref ref="RollingFile"/>
|
|
||||||
</root>
|
|
||||||
|
|
||||||
<logger name="PlcApi" additivity="false">
|
|
||||||
<level value="ALL" />
|
|
||||||
<appender-ref ref="Plc" />
|
|
||||||
</logger>
|
|
||||||
<appender name="Plc" type="log4net.Appender.RollingFileAppender">
|
|
||||||
<param name="File" value="logs\" />
|
|
||||||
<param name="AppendToFile" value="true" />
|
|
||||||
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
|
||||||
<Encoding value="UTF-8" />
|
|
||||||
<param name="StaticLogFileName" value="false" />
|
|
||||||
|
|
||||||
<param name="RollingStyle" value="Composite" />
|
|
||||||
|
|
||||||
<param name="DatePattern" value="yyyyMMdd/HH"Plc.log"" />
|
|
||||||
|
|
||||||
<param name="maximumFileSize" value="200MB" />
|
|
||||||
|
|
||||||
<param name="MaxSizeRollBackups" value="5" />
|
|
||||||
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
|
|
||||||
<conversionPattern value="记录时间:%date 日志内容:%message%newline "/>
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
<logger name="CloudApi" additivity="false">
|
|
||||||
<level value="ALL" />
|
|
||||||
<appender-ref ref="Cloud" />
|
|
||||||
</logger>
|
|
||||||
<appender name="Cloud" type="log4net.Appender.RollingFileAppender">
|
|
||||||
<param name="File" value="logs\" />
|
|
||||||
<param name="AppendToFile" value="true" />
|
|
||||||
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
|
||||||
<Encoding value="UTF-8" />
|
|
||||||
<param name="StaticLogFileName" value="false" />
|
|
||||||
|
|
||||||
<param name="RollingStyle" value="Composite" />
|
|
||||||
|
|
||||||
<param name="DatePattern" value="yyyyMMdd/HH"Cloud.log"" />
|
|
||||||
|
|
||||||
<param name="maximumFileSize" value="200MB" />
|
|
||||||
|
|
||||||
<param name="MaxSizeRollBackups" value="5" />
|
|
||||||
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
|
|
||||||
<conversionPattern value="记录时间:%date 日志内容:%message%newline "/>
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
<logger name="ChargeApi" additivity="false">
|
|
||||||
<level value="ALL" />
|
|
||||||
<appender-ref ref="Charge" />
|
|
||||||
</logger>
|
|
||||||
<appender name="Charge" type="log4net.Appender.RollingFileAppender">
|
|
||||||
<param name="File" value="logs\" />
|
|
||||||
<param name="AppendToFile" value="true" />
|
|
||||||
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
|
||||||
<Encoding value="UTF-8" />
|
|
||||||
<param name="StaticLogFileName" value="false" />
|
|
||||||
|
|
||||||
<param name="RollingStyle" value="Composite" />
|
|
||||||
|
|
||||||
<param name="DatePattern" value="yyyyMMdd/HH"Charge.log"" />
|
|
||||||
|
|
||||||
<param name="maximumFileSize" value="200MB" />
|
|
||||||
|
|
||||||
<param name="MaxSizeRollBackups" value="5" />
|
|
||||||
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
|
|
||||||
<conversionPattern value="记录时间:%date 日志内容:%message%newline "/>
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
<logger name="RfidApi" additivity="false">
|
|
||||||
<level value="ALL" />
|
|
||||||
<appender-ref ref="Rfid" />
|
|
||||||
</logger>
|
|
||||||
<appender name="Rfid" type="log4net.Appender.RollingFileAppender">
|
|
||||||
<param name="File" value="logs\" />
|
|
||||||
<param name="AppendToFile" value="true" />
|
|
||||||
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
|
||||||
<Encoding value="UTF-8" />
|
|
||||||
<param name="StaticLogFileName" value="false" />
|
|
||||||
|
|
||||||
<param name="RollingStyle" value="Composite" />
|
|
||||||
|
|
||||||
<param name="DatePattern" value="yyyyMMdd/HH"Rfid.log"" />
|
|
||||||
|
|
||||||
<param name="maximumFileSize" value="200MB" />
|
|
||||||
|
|
||||||
<param name="MaxSizeRollBackups" value="5" />
|
|
||||||
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
|
|
||||||
<conversionPattern value="记录时间:%date 日志内容:%message%newline "/>
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
<logger name="TboxApi" additivity="false">
|
|
||||||
<level value="ALL" />
|
|
||||||
<appender-ref ref="Tbox" />
|
|
||||||
</logger>
|
|
||||||
<appender name="Tbox" type="log4net.Appender.RollingFileAppender">
|
|
||||||
<param name="File" value="logs\" />
|
|
||||||
<param name="AppendToFile" value="true" />
|
|
||||||
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
|
||||||
<Encoding value="UTF-8" />
|
|
||||||
<param name="StaticLogFileName" value="false" />
|
|
||||||
|
|
||||||
<param name="RollingStyle" value="Composite" />
|
|
||||||
|
|
||||||
<param name="DatePattern" value="yyyyMMdd/HH"Tbox.log"" />
|
|
||||||
|
|
||||||
<param name="maximumFileSize" value="200MB" />
|
|
||||||
|
|
||||||
<param name="MaxSizeRollBackups" value="5" />
|
|
||||||
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
|
|
||||||
<conversionPattern value="记录时间:%date 日志内容:%message%newline "/>
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
</log4net>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue