Fix Buck log formatting
Fix Buck log formatting

Summary:
Buck logger assumes `%s`-style formatting (it is in the javadoc).

Buck logger is implemented using `java.util.logging`.

`java.util.logging` assumes `{}`-style formatting.

So we should invoke `String.format` before invoking `java.util.logging` functions to avoid violating `java.util.logging` protocol and supplying a custom formatter.

Reviewed By: mykola-semko

shipit-source-id: 6ff82d43e2

facebook/buck,facebook/buck,Addepar/buck,kageiit/buck,kageiit/buck,Addepar/buck,Addepar/buck,kageiit/buck,JoelMarcey/buck,zpao/buck,facebook/buck,JoelMarcey/buck,kageiit/buck,facebook/buck,Addepar/buck,Addepar/buck,zpao/buck,facebook/buck,JoelMarcey/buck,facebook/buck,JoelMarcey/buck,nguyentruongtho/buck,kageiit/buck,facebook/buck,zpao/buck,Addepar/buck,JoelMarcey/buck,JoelMarcey/buck,zpao/buck,zpao/buck,nguyentruongtho/buck,zpao/buck,JoelMarcey/buck,nguyentruongtho/buck,Addepar/buck,JoelMarcey/buck,nguyentruongtho/buck,nguyentruongtho/buck,JoelMarcey/buck,kageiit/buck,JoelMarcey/buck,Addepar/buck,nguyentruongtho/buck,Addepar/buck,nguyentruongtho/buck,JoelMarcey/buck,Addepar/buck,kageiit/buck,Addepar/buck,Addepar/buck,JoelMarcey/buck,JoelMarcey/buck,Addepar/buck,zpao/buck