hudl / fargo

Golang client for Netflix Eureka
MIT License
133 stars 53 forks source link

Prevent Fargo from stomping all over log settings #2

Closed tysonstewart closed 10 years ago

tysonstewart commented 10 years ago

The logging library we use only lets us set one log backend, and sadly, Fargo's default settings stomp over mine as soon as I load it meaning I can't get debug logs.

This PR removes the init function from log.go and leaves it up to the entry point of an application to initialize the log.

If go-logging adds a way to discover if a backend is already set, we could add this block back in with a check for an existing backend.