SumoLogic / sumologic-net-appenders

Several appenders for .NET developers to use that send logs straight to SumoLogic.
Apache License 2.0
23 stars 39 forks source link

Support for SourceCategory and SourceHost in appender config #46

Closed latkin closed 7 years ago

latkin commented 7 years ago

Somebody logged an issue for our Java appenders, requesting configurable support for setting SourceCategory and SourceHost, similar to how SourceName can currently be set. https://github.com/SumoLogic/sumologic-log4j2-appender/issues/4

This is a reasonable request, so filing it here too.

TerribleDev commented 7 years ago

I volunteer as tribute 😝

latkin commented 7 years ago

@TerribleDev I have an internal dev who can take it. If you really want to that's great though. What do you think?

TerribleDev commented 7 years ago

@latkin seems pretty straight forward. Take in the new variables, if they are not empty strings add the headers documented here.

If you want this done in less than 2 weeks, then get your dev on it. However, I'm happy to get this done I may take a little longer as I am currently in the UK, and not in my USA office.

latkin commented 7 years ago

I have someone available ~now so I'll go for that. Enjoy 🇬🇧 🍵

rvmiller89 commented 7 years ago

Added in https://github.com/SumoLogic/sumologic-net-appenders/pull/48