suport for thumbnails

This commit is contained in:
A.Unger
2021-03-17 15:38:37 +01:00
parent 314014ae21
commit ed6bdc77b8
3 changed files with 9 additions and 0 deletions

View File

@@ -63,6 +63,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),
)
}
@@ -121,6 +122,7 @@ func NewSutureService(cfg *ociscfg.Config) suture.Service {
if cfg.Mode == 0 {
cfg.Thumbnails.Supervised = true
}
cfg.Thumbnails.Log.File = cfg.Log.File
return SutureService{
cfg: cfg.Thumbnails,
}