mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-30 17:13:08 +08:00
fix(logger): add syslog init log (#24557)
This commit is contained in:
@@ -61,7 +61,10 @@ func StartService() {
|
||||
// models.StartNotifyToWebsocketWorker()
|
||||
|
||||
if len(opts.SyslogUrl) > 0 {
|
||||
extern.InitSyslog(opts.SyslogUrl)
|
||||
err := extern.InitSyslog(opts.SyslogUrl)
|
||||
if err != nil {
|
||||
log.Errorf("Failed to init syslog: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
if !opts.IsSlaveNode {
|
||||
|
||||
Reference in New Issue
Block a user