mirror of
https://github.com/Ascend/ascend-docker-runtime.git
synced 2025-10-24 17:10:20 +08:00
Match-id-7904ccd4e2e603703ad94236438bc0cb8c408810
This commit is contained in:
@@ -73,6 +73,7 @@ func initLogModule(stopCh <-chan struct{}) error {
|
|||||||
LogLevel: 0,
|
LogLevel: 0,
|
||||||
MaxBackups: backups,
|
MaxBackups: backups,
|
||||||
MaxAge: logMaxAge,
|
MaxAge: logMaxAge,
|
||||||
|
OnlyToFile: true,
|
||||||
}
|
}
|
||||||
if err := hwlog.InitRunLogger(&runLogConfig, stopCh); err != nil {
|
if err := hwlog.InitRunLogger(&runLogConfig, stopCh); err != nil {
|
||||||
fmt.Printf("hwlog init failed, error is %v", err)
|
fmt.Printf("hwlog init failed, error is %v", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user