1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00

Log to stdout

This commit is contained in:
DarthSim 2019-08-09 16:12:04 +06:00
parent ee54296249
commit 939a4c18c3
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@
- Better handling if non-sRGB images;
- `SO_REUSEPORT` socker option support. Can be enabled with `IMGPROXY_SO_REUSEPORT`;
- `dpr` option always changes the resulting size even if it leads to enlarge and `enlarge` is falsey;
- Log to STDOUT
## v2.3.0

View File

@ -1,6 +1,7 @@
package main
import (
"log"
"os"
"os/signal"
"runtime"
@ -14,6 +15,8 @@ const version = "2.3.0"
type ctxKey string
func initialize() {
log.SetOutput(os.Stdout)
initSyslog()
configure()
initNewrelic()