diff --git a/Service/Plc/Codec/Decoder.cs b/Service/Plc/Codec/Decoder.cs index 1fb559d..ef8dd62 100644 --- a/Service/Plc/Codec/Decoder.cs +++ b/Service/Plc/Codec/Decoder.cs @@ -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)); diff --git a/WebStarter/log4net.config b/WebStarter/log4net.config index 81a7df1..7217fa8 100644 --- a/WebStarter/log4net.config +++ b/WebStarter/log4net.config @@ -30,7 +30,7 @@ - +