1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-10-30 23:08:02 +02:00

Write logs to STDOUT instead of STDERR

This commit is contained in:
DarthSim
2022-03-16 14:17:32 +06:00
parent 731ead4563
commit a8293461e6
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
# Changelog
## [Unreleased]
### Fix
- Write logs to STDOUT instead of STDERR.
## [3.3.1] - 2022-03-14
### Fix

View File

@@ -2,7 +2,6 @@ package logger
import (
"fmt"
"log"
"os"
logrus "github.com/sirupsen/logrus"
@@ -11,7 +10,7 @@ import (
)
func Init() error {
log.SetOutput(os.Stdout)
logrus.SetOutput(os.Stdout)
logFormat := "pretty"
logLevel := "info"