wso2 / api-manager

All issues, tasks, improvements and new features of WSO2 API Manager
Apache License 2.0
34 stars 8 forks source link

Meaningless error logs in websocket transport #2944

Closed akila95fernando closed 8 hours ago

akila95fernando commented 2 weeks ago

Description

1) When WS API gets suspended a similar error as follows gets logged

INFO - LogMediator STATUS = Executing default 'fault' sequence, ERROR_CODE = 303001, ERROR_MESSAGE = Currently , Default endpoint : [ Name : AnonymousEndpoint ] [ State : SUSPENDED ]

Need to improve the logs with an identifier for API and endpoint .

2) When WS backend connection gets closed following is logged .

INFO - LogMediator STATUS = Executing default 'fault' sequence, ERROR_CODE = null, ERROR_MESSAGE = null

Need to add error code and message

Steps to Reproduce

N/A

Affected Component

APIM

Version

3.2.0 & 3.2.1

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response