Krakend DEbug Log

2 views
Skip to first unread message

Nitin Suryawanshi

unread,
Oct 15, 2025, 6:59:54 AM (6 days ago) Oct 15
to comm...@krakend.io
Hi,
We are using Krakend API Gateway Version 2.0.0.  for logging we have developed a custom pipeline with the following configuration in the krakend_template .json
"github_com/optivainc/optiva-product-shared-krakend-telemetry": {
            "logging": {
                "level": "{{ env "LOG_LEVEL" }}",
                "module": "[OPTIVA-OBP-RTS-APIGATEWAY]",
                "skip_paths": ["/__health", "/healthz/readiness/appCrm", "/healthz/readiness/appCrmHome", "/healthz/readiness/esb", "/healthz/readiness/ocg", "/healthz/readiness/vra", "/healthz/readiness", "/healthz/readiness/auth", "/healthz/readiness/zammad" ],
                "json": {
                    "disable_html_escape": false,
                    "data_key": "datakey",
                    "pretty_print": false
                }  
            },

When we enable the "DEBUG" log we are getting these null characters in  the logs, although API request and response is correct.
{"@timestamp":" 20*******  ","ecs.version":"1.6.0","event.category":"web","event.duration":367449,"event.end":" 20*******  ","event.kind":"event","event.module":"krakend","event.start":"2025 20*******  [0K1
:58.490877759Z","event.type":"access","http.hostname":"*******","http.request.method":"GET","http.response.status_code":503,"log.level":"info","message":"GET /individual?id=15\u0026offset=0\u002 [0K6
limit=10","source.ip":"******","url.original":"/individual?id=15\u0026offset=0\u0026limit=10","user_agent.original":"PostmanRuntime/7.31.1"} [0K
{"@timestamp":"202***:58.513Z","ecs.version":"1.6.0","log.level":"debug","message":"[CORS]20******* 09:21:58 Handler: Actual request\ners added: missing origin\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u000 [0K0
\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000


Any out of the box configuration which could help to fix this issue or any other solution to fix this is appreciated,

Regards
Nitin Suryawanshi
Optiva Inc

Albert Lombarte

unread,
Oct 15, 2025, 7:02:02 AM (6 days ago) Oct 15
to KrakenD Community, nitin.su...@optiva.com
Hello Nitin,

It is hard to help on a component that Optiva developed, is not open-sourced, and neither KrakenD or the KrakenD community wrote openly. This is a forum for open source usage of KrakenD component, so I do not know how we can be of any help. You might ask the developer of such a component for advice.

Best regards.

El dia dimecres, 15 d’octubre del 2025 a les 12:59:54 UTC+2, nitin.su...@optiva.com va escriure:
Reply all
Reply to author
Forward
0 new messages