Skip to content

Commit

Permalink
Refactor logger formatting and directory names
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptofyre committed Sep 22, 2024
1 parent 4adcd2c commit 08c5551
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ func init() {
logger.SetFormatter(&logrus.TextFormatter{
FullTimestamp: true,
TimestampFormat: "2006-01-02 - 15:04:05",
DisableSorting: true,
DisableSorting: false,
ForceQuote: false,
DisableQuote: true,
ForceColors: true,
FieldMap: logrus.FieldMap{
logrus.FieldKeyTime: "time",
logrus.FieldKeyLevel: "level ",
logrus.FieldKeyLevel: "level",
logrus.FieldKeyMsg: "message",
},
})
Expand All @@ -53,9 +53,9 @@ func init() {
logger.Info("AniArt priming up...")
logger.Infof("Published URI: %s", getBaseURI())
logger.Infof("Cache directory: %s", cacheDir)
logger.Infof("Artist squares directory: %s", artistSquares)
logger.Infof("iCloud art directory: %s", icloudArt)
logger.Infof("Animated art directory: %s", animatedArt)
logger.Infof("Artist Squares directory: %s", artistSquares)
logger.Infof("iCloud Art directory: %s", icloudArt)
logger.Infof("Animated Art directory: %s", animatedArt)

ffmpeg.LogCompiledCommand = false

Expand Down

0 comments on commit 08c5551

Please sign in to comment.