GELF appender: set version to 1.1
This commit is contained in:
parent
5b2d840472
commit
0f51ab1bb3
@ -101,7 +101,7 @@ function gelfAppender (layout, host, port, hostname, facility) {
|
||||
msg.full_message = layout(loggingEvent);
|
||||
msg.short_message = msg.full_message;
|
||||
|
||||
msg.version="1.0";
|
||||
msg.version="1.1";
|
||||
msg.timestamp = msg.timestamp || new Date().getTime() / 1000; // log should use millisecond
|
||||
msg.host = hostname;
|
||||
msg.level = levelMapping[loggingEvent.level || levels.DEBUG];
|
||||
|
Loading…
Reference in New Issue
Block a user