Replies: 1 comment 1 reply
-
Hi @schmity, ldproxy uses dropwizard, which uses logback, and the configuration options of those libraries apply. See the dropwizard documentation. To omit the IP address, you have to change the type (remove For example: server:
requestLog:
timeZone: Europe/Berlin
appenders:
- type: file
currentLogFilename: "./data/log/requests.log"
archive: true
archivedLogFilenamePattern: "./data/log/requests-%d.log.gz"
archivedFileCount: 7
logFormat: "%t{ISO8601} %r %s %b %D" |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
given my setup in cfg.yml as below, how can I suppress logging IP-addresses while keep logging requests?
server:
requestLog:
type: classic
timeZone: Europe/Berlin
appenders:
- type: file
currentLogFilename: "/apps/log/requests.log"
archive: true
archivedLogFilenamePattern: "/apps/log/requests-%d.log.gz"
archivedFileCount: 7
...
Best
Sebastian
Beta Was this translation helpful? Give feedback.
All reactions