diff options
Diffstat (limited to 'logging-sdk/src/main/java/org/openo/log/api/SysLogMessage.java')
-rw-r--r-- | logging-sdk/src/main/java/org/openo/log/api/SysLogMessage.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logging-sdk/src/main/java/org/openo/log/api/SysLogMessage.java b/logging-sdk/src/main/java/org/openo/log/api/SysLogMessage.java index 6c389bf..5b1a6d9 100644 --- a/logging-sdk/src/main/java/org/openo/log/api/SysLogMessage.java +++ b/logging-sdk/src/main/java/org/openo/log/api/SysLogMessage.java @@ -55,7 +55,7 @@ public class SysLogMessage extends LogMessage { this.setLogType(LogConst.SYSLOG_TYPE); this.logName = logName; - this.setLocale("logName", logName); + this.set("logName", logName); this.rank = rank; this.set("rank", rank); @@ -64,7 +64,7 @@ public class SysLogMessage extends LogMessage { this.set("hostname", hostname); this.detail = detail; - this.setLocale("detail", detail); + this.set("detail", detail); this.logStartDate = logStartDate; this.set("logStartDate", Facitility.dateFormat(logStartDate)); |