Commit 8b7f69c6 authored by Joerg-Holger Panzer's avatar Joerg-Holger Panzer
Browse files

Update logging

parent 608ffda8
Pipeline #266287 passed with stages
in 10 minutes and 14 seconds
......@@ -3,17 +3,21 @@ package main
import (
var (
log logrus.Logger
func main() {
j := helper.IndexAll()
log.Info("Collector found %v METS files to process", j)
log.Infof("Collector found %v METS files to process", j)
for {
// add infinite loop, to prevent docker based autorestart
log.Info("Collector in idle mode", j)
log.Infof("Collector in idle mode", j)
time.Sleep(300 * time.Second)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment