diff --git a/datadog.go b/datadog.go index b332314..0bcfcc3 100644 --- a/datadog.go +++ b/datadog.go @@ -170,6 +170,8 @@ func (l *StandardLogger) startLogRoutineListener() { newLog.Level = logElem.Level newLog.Time = time.Now() + newLog.Data["ddsource"] = "logpet" + for key, value := range logElem.CustomFields { newLog.Data[key] = value }