-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: #243
- Loading branch information
Showing
12 changed files
with
143 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"severity": { | ||
"str": "Debug", | ||
"number": 5, | ||
"text": "DEBUG" | ||
}, | ||
"body": "Debug message", | ||
"attrs": { | ||
"instant": { | ||
"epochSecond": 1696419692, | ||
"nanoOfSecond": 479118362 | ||
}, | ||
"thread": "main", | ||
"loggerName": "CONSOLE_JSON_APPENDER", | ||
"endOfBatch": false, | ||
"loggerFqcn": "org.apache.logging.log4j.spi.AbstractLogger", | ||
"threadId": 1, | ||
"threadPriority": 5, | ||
"myCustomField": "myCustomValue" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
{ | ||
"severity_number_str": "Info", | ||
"severity_number": 9, | ||
"severity_text": "info", | ||
"severity": { | ||
"str": "Info", | ||
"number": 9, | ||
"text": "info" | ||
}, | ||
"body": "A group of walrus emerges from the ocean", | ||
"timestamp": "2023-12-04T10:54:23Z", | ||
"animal": "walrus", | ||
"size": 10 | ||
"attrs": { | ||
"animal": "walrus", | ||
"size": 10 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"severity": { | ||
"str": "Info", | ||
"number": 9, | ||
"text": "INFO" | ||
}, | ||
"body": "testing logging format", | ||
"attrs": { | ||
"threadName": "MainThread", | ||
"name": "root", | ||
"thread": 140735202359648, | ||
"created": 1336281068.506248, | ||
"process": 41937, | ||
"processName": "MainProcess", | ||
"relativeCreated": 9.100914001464844, | ||
"module": "tests", | ||
"funcName": "testFormatKeys", | ||
"levelno": 20, | ||
"msecs": 506.24799728393555, | ||
"pathname": "tests/tests.py", | ||
"lineno": 60, | ||
"asctime": [ | ||
"12-05-05 22:11:08,506248" | ||
], | ||
"filename": "tests.py", | ||
"special": "value", | ||
"run": 12 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
{ | ||
"severity_number_str": "Info", | ||
"severity_number": 9, | ||
"severity_text": "INFO", | ||
"severity": { | ||
"str": "Info", | ||
"number": 9, | ||
"text": "INFO" | ||
}, | ||
"body": "hello world", | ||
"timestamp": "2023-12-04T10:54:23.012381337Z", | ||
"answer": 42 | ||
"attrs": { | ||
"answer": 42 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
{ | ||
"severity_number_str": "Info", | ||
"severity_number": 9, | ||
"severity_text": "INFO", | ||
"severity": { | ||
"str": "Info", | ||
"number": 9, | ||
"text": "INFO" | ||
}, | ||
"body": "No time" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
{ | ||
"severity_number_str": "Info", | ||
"severity_number": 9, | ||
"severity_text": "info", | ||
"severity": { | ||
"str": "Info", | ||
"number": 9, | ||
"text": "info" | ||
}, | ||
"body": "Events", | ||
"timestamp": "2023-12-04T09:11:59.1613184Z", | ||
"logger": "poll", | ||
"caller": "gh-archived/main.go:197", | ||
"duration": 0.437301455, | ||
"integers": [ | ||
1, | ||
2, | ||
3 | ||
], | ||
"new_count": 100, | ||
"remaining": 1040, | ||
"used": 3960, | ||
"reset": 660.838704106, | ||
"reset_human": "in 12 minutes", | ||
"sleep": 0.198120375, | ||
"target_rate": 0.63542183 | ||
"attrs": { | ||
"logger": "poll", | ||
"caller": "gh-archived/main.go:197", | ||
"duration": 0.437301455, | ||
"integers": [ | ||
1, | ||
2, | ||
3 | ||
], | ||
"new_count": 100, | ||
"remaining": 1040, | ||
"used": 3960, | ||
"reset": 660.838704106, | ||
"reset_human": "in 12 minutes", | ||
"sleep": 0.198120375, | ||
"target_rate": 0.63542183 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
{ | ||
"severity_number_str": "Debug", | ||
"severity_number": 5, | ||
"severity_text": "debug", | ||
"severity": { | ||
"str": "Debug", | ||
"number": 5, | ||
"text": "debug" | ||
}, | ||
"body": "Fibonacci is everywhere", | ||
"timestamp": "2023-12-04T10:59:00Z", | ||
"Scale": "833 cents", | ||
"Interval": 833.09 | ||
"attrs": { | ||
"Scale": "833 cents", | ||
"Interval": 833.09 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
{ | ||
"severity_number_str": "Debug", | ||
"severity_number": 5, | ||
"severity_text": "debug", | ||
"severity": { | ||
"str": "Debug", | ||
"number": 5, | ||
"text": "debug" | ||
}, | ||
"timestamp": "2023-12-04T10:59:00Z", | ||
"Name": "Tom" | ||
"attrs": { | ||
"Name": "Tom" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"instant":{"epochSecond":1696419692,"nanoOfSecond":479118362},"thread":"main","level":"DEBUG","loggerName":"CONSOLE_JSON_APPENDER","message":"Debug message","endOfBatch":false,"loggerFqcn":"org.apache.logging.log4j.spi.AbstractLogger","threadId":1,"threadPriority":5,"myCustomField":"myCustomValue"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"threadName":"MainThread","name":"root","thread":140735202359648,"created":1336281068.506248,"process":41937,"processName":"MainProcess","relativeCreated":9.100914001464844,"module":"tests","funcName":"testFormatKeys","levelno":20,"msecs":506.24799728393555,"pathname":"tests/tests.py","lineno":60,"asctime":["12-05-05 22:11:08,506248"],"message":"testing logging format","filename":"tests.py","levelname":"INFO","special":"value","run":12} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters