gliderlabs / logspout

Log routing for Docker container logs
MIT License
4.66k stars 680 forks source link

BACKLOG environnement variable inverted since v3.2.7 #494

Closed jonenst closed 3 years ago

jonenst commented 3 years ago

https://github.com/gliderlabs/logspout/commit/621524edba170d901

 func backlog() bool {
-       if os.Getenv("BACKLOG") == "false" {
-               return false
-       }
-       return true
+       return os.Getenv("BACKLOG") == "false"
 }

Since v3.2.7 you have to set BACKLOG=false to get the backlog...

michaelshobbs commented 3 years ago

Thanks for the heads up. I've corrected this and added tests

jonenst commented 3 years ago

cool, thanks for the quick fix!