F5Networks / k8s-bigip-ctlr

Repository for F5 Container Ingress Services for Kubernetes & OpenShift.
Apache License 2.0
364 stars 195 forks source link

RFE: improve AS3 result logging #3492

Closed alonsocamaro closed 3 months ago

alonsocamaro commented 4 months ago

Title

RFE: improve AS3 result logging

Description

At present on AS3 failure the following priorities are used:

2024/07/17 10:38:13 [INFO] [Retry][AS3] post resulted in FAILURE
2024/07/17 10:38:13 [DEBUG] [AS3] Raw response from Big-IP: map[code:422 declarationFullId: message:Unable to find /Common/oneconnect-32 for /mc-twotier/Shared/crd_10_1_10_106_443/profileMultiplex] 

Actual Problem

Both log lines should be ERROR log level. Specially the second line is a must to be shown always, otherwise the user needs to always run in DEBUG mode to know why something is not working.

trinaths commented 3 months ago

@alonsocamaro Whatever be the response from AS3, its logged in DEBUG log level. No changes to CIS .