From f020ec96ef942eaaf20d837a32f117f0c4841be9 Mon Sep 17 00:00:00 2001 From: maura fortino Date: Fri, 23 Jun 2023 15:28:12 -0400 Subject: [PATCH] updated petasos yaml file --- petasos.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/petasos.yaml b/petasos.yaml index e5a9ba0..4a918b8 100644 --- a/petasos.yaml +++ b/petasos.yaml @@ -157,6 +157,35 @@ log: # (Optional) defaults to false json: true +zap: + # OutputPaths is a list of URLs or file paths to write logging output to. + outputPaths: + - stdout + # - /var/log/scytale/scytale.log + + # Level is the minimum enabled logging level. Note that this is a dynamic + # level, so calling Config.Level.SetLevel will atomically change the log + # level of all loggers descended from this config. + level: DEBUG + + # EncoderConfig sets options for the chosen encoder. See + # zapcore.EncoderConfig for details. + errorOutputPaths: + - stderr + # - /var/log/scytale/scytale.log + + # EncoderConfig sets options for the chosen encoder. See + # zapcore.EncoderConfig for details. + encoderConfig: + messageKey: message + levelKey: key + levelEncoder: lowercase + + # Encoding sets the logger's encoding. Valid values are "json" and + # "console", as well as any third-party encodings registered via + # RegisterEncoder. + encoding: json + ######################################## # Service Discovery Configuration ########################################