From 396402cdd65c3f1a5b1fe2ab7fc0dd62f9dc35bd Mon Sep 17 00:00:00 2001 From: Michael O'Brien Date: Mon, 23 Jul 2018 10:07:49 -0400 Subject: add filebeat to k8s log demo Change-Id: I1c229a9e5f7c9379d8d9f9fdf724908f083925d9 Issue-ID: LOG-137 Signed-off-by: Michael O'Brien --- .../logging-demo/src/main/resources/logback.xml | 130 +++++++++++++++++---- 1 file changed, 108 insertions(+), 22 deletions(-) (limited to 'reference/logging-demo/src/main/resources/logback.xml') diff --git a/reference/logging-demo/src/main/resources/logback.xml b/reference/logging-demo/src/main/resources/logback.xml index 71d41e4..eddb4a8 100644 --- a/reference/logging-demo/src/main/resources/logback.xml +++ b/reference/logging-demo/src/main/resources/logback.xml @@ -1,4 +1,4 @@ - + @@ -8,25 +8,111 @@ - - - ${pattern} - - - - - output.log - - ${pattern} - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + ${logDirectory}/${auditLogName}.log + + ${logDirectory}/${auditLogName}.log.%d + + + ${auditPattern} + + + + + 256 + + + + + ${logDirectory}/${metricsLogName}.log + + ${logDirectory}/${metricsLogName}.log.%d + + + ${metricPattern} + + + + + 256 + + + + + ${logDirectory}/${errorLogName}.log + + ${logDirectory}/${errorLogName}.log.%d + + + INFO + + + ${errorPattern} + + + + + 256 + + + + + ${debugLogDirectory}/${debugLogName}.log + + ${debugLogDirectory}/${debugLogName}.log.%d + + + ${debugPattern} + + + + + 256 + + true + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg