hudl / fargo

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

Change loggin function to have f postfix when using formated version #35

Closed damtur closed 8 years ago

damtur commented 8 years ago

Description

This change needs to go live with similar change to alyx3 It's using the newest format of logging from non-backward compatible update from op/go-logging package.

Backwards compatibility

Since github.com/op/go-logging did a breaking change we decided that we'll fix the code after upgreading that package. If you use old version of go-logging con't probably won't compile, but with newest version it should all be good One should use Godep if is scared about that :(

Reasoning

This will affect mainly logs with formatting like %s. See if your logs looks ok after the change and are properly substituted

Dependency consideration

After reviewing dependent hudl repos this shouldn't affect anything as those which one are using fargo uses Godep as well. For outside of hudl world if someone is using hudl/fargo and not using Godep then probably they will have a problem with op/go-logging which this PR is fixing