You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by jc...@apache.org on 2021/08/26 13:32:11 UTC

[brooklyn-docs] branch master updated: Fix multiline example for for info level

This is an automated email from the ASF dual-hosted git repository.

jcabrerizo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new b8c2379  Fix multiline example for for info level
b8c2379 is described below

commit b8c23796497a02e66bf9f052923aa4e3da6a6cf3
Author: Juan Cabrerizo <ju...@cloudsoft.io>
AuthorDate: Thu Aug 26 14:32:06 2021 +0100

    Fix multiline example for for info level
---
 guide/ops/logging.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/guide/ops/logging.md b/guide/ops/logging.md
index f45d83c..a39975e 100644
--- a/guide/ops/logging.md
+++ b/guide/ops/logging.md
@@ -142,6 +142,7 @@ is a good simple way to forward content added to the info and debug log files:
  @log_level info
  <parse>
   @type multiline
+  format_firstline /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/
   format1 /^(?<timestamp>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z) (?<taskId>\S+)?-(?<entityIds>\S+)? (?<level>\w{4} |\w{5})\W{1,4}(?<bundleId>\d{1,3}) (?<class>(?:\S\.)*\S*) \[(?<threadName>\S+)\] (?<message>.*)/
   time_format %Y-%m-%dT%H:%M:%S,%L
  </parse>