D! means what? Ditto for I!

In logs, what do D! and I! mean?

I haven’t been able to find this in the documentation. If I’m logging using LogNode, I see stuff show up in the logs. But what does the letter-followed-by-an-exclamation-point indicate?


[httpd] ::1 - - [11/Sep/2017:17:49:55 -0500] “POST /write?consistency=&db=apimonitor&precision=ns&rp=autogen HTTP/1.1” 204 0 “-” “InfluxDBClient” 879bb200-9743-11e7-8184-000000000000 131
[simple:log2] 2017/09/11 17:49:55 D! {“Name”:“api_detail”,“Database”:“apimonitor”,“RetentionPolicy”:“autogen”,“Group”:"",“Dimensions”:{“ByName”:false,“TagNames”:null},“Tags”:{“api”:“TEST2apiName”,“az”:“TEST2availabilityZone”,“instance”:“TEST2instanceId”,“name”:“TEST2name”,“tr-error”:“true”,“traceid”:“TEST2traceId”},“Fields”:{“duration”:100},“Time”:“2017-09-11T22:49:55.168901959Z”}

[simple:log4] 2017/09/11 17:49:55 I!  {"Name":"api_detail","Database":"","RetentionPolicy":"","Group":"","Dimensions":{"ByName":false,"TagNames":null},"Tags":{},"Fields":{"count":1},"Time":"2017-09-11T22:49:22.265366713Z"}

These are short for debug and info, you might also see W for warn and E for error.

1 Like