diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-14 15:07:55 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-14 15:07:55 +0000 |
commit | 85e494935a8726dc98bb19ffa584488420e5011e (patch) | |
tree | 5acf279dab81a2363e4504a9679c32c16510542b /doc/development/logging.md | |
parent | 4ce0bee95df15c05cdb0d777eba31fe753bc443b (diff) | |
download | gitlab-ce-85e494935a8726dc98bb19ffa584488420e5011e.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/logging.md')
-rw-r--r-- | doc/development/logging.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/logging.md b/doc/development/logging.md index 5d6b2d535b8..ea099de21d5 100644 --- a/doc/development/logging.md +++ b/doc/development/logging.md @@ -191,7 +191,7 @@ Here are some examples of how messages would be handled by both the loggers. FancyMultiLogger.info("Information") # UnstructuredLogger -I, [2020-01-13T12:02:41.566219 #6652] INFO -- : Information +I, [2020-01-13T18:48:49.201Z #5647] INFO -- : Information # StructuredLogger {:severity=>"INFO", :time=>"2020-01-13T11:02:41.559Z", :correlation_id=>"b1701f7ecc4be4bcd4c2d123b214e65a", :message=>"Information"} @@ -203,7 +203,7 @@ I, [2020-01-13T12:02:41.566219 #6652] INFO -- : Information FancyMultiLogger.info({:message=>"This is my message", :project_id=>123}) # UnstructuredLogger -I, [2020-01-13T12:06:09.856766 #8049] INFO -- : {:message=>"This is my message", :project_id=>123} +I, [2020-01-13T19:01:17.091Z #11056] INFO -- : {"message"=>"Message", "project_id"=>"123"} # StructuredLogger {:severity=>"INFO", :time=>"2020-01-13T11:06:09.851Z", :correlation_id=>"d7e0886f096db9a8526a4f89da0e45f6", :message=>"This is my message", :project_id=>123} |