Skip to content

Zalando Logbook separate configuration from client and server side #2015

@honza-zidek

Description

@honza-zidek

Is it possible to configure Zalando Logbook separately for the server side logging (incoming requests) and the client side logging (outgoing requests)?

I'd like to log only some incoming requests (/api/** and /int/**), but all the outgoing requests not regarding their URI (/**).

Following the documentation https://gitee.com/kedocode/logbook#configuration, something like:

logbook:
  server:
    predicate:
      include:
        - path: /api/**
        - path: /int/**
  client:
    predicate:
      include:
        - path: /**

The above configuration was the solution suggested by ChatGPT, but it doesn't seem to work, however the idea was good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions