From 32703ae0db174b098dfc17721c96ee90e26af3a0 Mon Sep 17 00:00:00 2001 From: Dragos Gabriel Ghinea <142506926+dgghinea@users.noreply.github.com> Date: Wed, 15 May 2024 10:54:08 +0300 Subject: [PATCH] APIGOV-27848 - published transactions logger (#100) * APIGOV-27848 - published transactions logger * mr updates * go mod updates * add other properties --- build/traceability/kong_traceability_agent.yml | 6 ++++++ go.mod | 2 +- go.sum | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/build/traceability/kong_traceability_agent.yml b/build/traceability/kong_traceability_agent.yml index 60049fc..1aa2850 100644 --- a/build/traceability/kong_traceability_agent.yml +++ b/build/traceability/kong_traceability_agent.yml @@ -66,6 +66,12 @@ kong_traceability_agent: keepfiles: ${LOG_METRICFILE_KEEPFILES:7} rotateeverybytes: ${LOG_METRICFILE_ROTATEEVERYBYTES:10485760} cleanbackups: ${LOG_METRICFILE_CLEANBACKUPS:0} + usagefile: + enabled: ${LOG_USAGEFILE_ENABLED:true} + name: ${LOG_USAGEFILE_NAME:usagefile.log} + keepfiles: ${LOG_USAGEFILE_KEEPFILES:7} + rotateeverybytes: ${LOG_USAGEFILE_ROTATEEVERYBYTES:10485760} + cleanbackups: ${LOG_USAGEFILE_CLEANBACKUPSEVERY:365} # Send output to Central Database output.traceability: diff --git a/go.mod b/go.mod index 9338a76..73db66b 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.21 toolchain go1.21.3 require ( - github.com/Axway/agent-sdk v1.1.82 + github.com/Axway/agent-sdk v1.1.83-0.20240509142904-bce138a65bf7 github.com/elastic/beats/v7 v7.17.20 github.com/google/uuid v1.6.0 github.com/kong/go-kong v0.47.0 diff --git a/go.sum b/go.sum index 2203ea0..cb94c21 100644 --- a/go.sum +++ b/go.sum @@ -38,6 +38,8 @@ cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3f dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Axway/agent-sdk v1.1.82 h1:5uYYPLiGC6HQEyhdzeqYOOx6xZ5I8cfwM9b5aHvvOGs= github.com/Axway/agent-sdk v1.1.82/go.mod h1:J6qtxUMHiQochUtEFd+opCerMXbcGWC52HRHACTjOJc= +github.com/Axway/agent-sdk v1.1.83-0.20240509142904-bce138a65bf7 h1:E+SSLGGtXE+lAinihsr7OuJr+SJlm0EwXY/ExsAibXA= +github.com/Axway/agent-sdk v1.1.83-0.20240509142904-bce138a65bf7/go.mod h1:J6qtxUMHiQochUtEFd+opCerMXbcGWC52HRHACTjOJc= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=