suport for graph

This commit is contained in:
A.Unger
2021-03-17 15:31:51 +01:00
parent abd18e3101
commit 4f3ebb710c
3 changed files with 9 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ func NewLogger(cfg *config.Config) log.Logger {
log.Level(cfg.Log.Level),
log.Pretty(cfg.Log.Pretty),
log.Color(cfg.Log.Color),
log.File(cfg.Log.File),
)
}
@@ -123,6 +124,7 @@ func NewSutureService(cfg *ociscfg.Config) suture.Service {
if cfg.Mode == 0 {
cfg.Graph.Supervised = true
}
cfg.Graph.Log.File = cfg.Log.File
return SutureService{
cfg: cfg.Graph,
}