SteeltoeOSS / Discovery

.NET Clients for Service Discovery and Registration
https://steeltoe.io
Apache License 2.0
182 stars 48 forks source link

Logging template gives weird result in ELK #14

Closed kimbell closed 6 years ago

kimbell commented 7 years ago

We are using the ELK stack for log processing. We see that some of the events from Steeltoe result in some weird entries.

The following message is logged CancelAsync "http://server/eureka/apps/application:5101", status: OK

ELK reports the following template being used: CancelAsync {0}, status: {1}

This results in 0: http://server/eureka/apps/application:5101 1: OK

The key values 1 and 2 doesn't give any meaning.

If the template was updated to this, we would get keys with a bit more meaning. CancelAsync {Url}, status: {Status}

cf-gitbot commented 7 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/150369298

The labels on this github issue will be updated when the story is started.

dtillman commented 7 years ago

@kimbell : Thanks for the suggestion....

I'll look at updating the logging for all of the Steeltoe components, including Discovery, etc.

Dave

TimHess commented 6 years ago

This seems like a pretty easy entry point for anybody looking to contribute to the project