Description
I've started work on trying to embed etcdserver into existing projects. This will be useful for a bunch of reasons and great for the etcd project. I am aware that the api's are not necessarily stable, and that this might not be supported at this time, but nevertheless, I am going to try and report/fix some issues as I go. If anyone is able to help out in this area, I'd appreciate it.
First issue: importing either of these modules:
_ "github.com/coreos/etcd/etcdserver" _ "github.com/coreos/etcd/etcdserver/etcdhttp"
Somehow affects the log output. My logs get a prefix of:
2016-01-02 19:15:55.887368 I | <existing log output>
IOW, this looks like:
2016-01-02 19:15:55.887414 I | 19:15:55 main.go:212: blah blah blah
The existing log output includes timestamps and whatever I have specified with log.SetFlags.
I haven't tracked down where the prefix is getting injected, but it's making a mess of anything that uses these modules. I'm also not sure why there is an I (capital i) character. Maybe it's some sort of custom status char used by etcd.
Thanks in advance,
James