master
CZ 3 months ago
parent 697badff7c
commit 89f4a8ecbd

@ -28,7 +28,8 @@ public class Decoder : ByteToMessageDecoder
{
if (ObjUtils.IsNotNullOrWhiteSpace(chargerSn))
{
return LogManager.GetLogger("Plc" + chargerSn);
//return LogManager.GetLogger("Plc" + chargerSn);
return LogManager.GetLogger("Plc");
}
return LogManager.GetLogger(typeof(Decoder));

@ -30,7 +30,7 @@
<appender-ref ref="RollingFile"/>
</root>
<logger name="PlcApi" additivity="false">
<logger name="Plc" additivity="false">
<level value="ALL" />
<appender-ref ref="Plc" />
</logger>

Loading…
Cancel
Save