Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Logging doesn't work without providing version #1870

Closed
sashansamarajeewa opened this issue May 25, 2023 · 1 comment
Closed

API Logging doesn't work without providing version #1870

sashansamarajeewa opened this issue May 25, 2023 · 1 comment

Comments

@sashansamarajeewa
Copy link

Description

When using API logging feature [1], if an API is invoked as the default version without specifying the version, there are no logs printed in the api.log file. When version is used, the logs are getting printed.

[1] https://apim.docs.wso2.com/en/latest/observe/api-manager/monitoring-api-logs/

Steps to Reproduce

  • Deploy the PizzaShack API
  • Enable 'Make this the default version' property and redeploy
  • Change the API log level to full using devops API
  • Invoke the API with the version and without the version
  • Check the api.log file

Affected Component

APIM

Version

4.1.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

prasa7 added a commit to prasa7/carbon-apimgt that referenced this issue Jun 23, 2023
@YasasRangika
Copy link

closing as the public fix: wso2/carbon-apimgt#12063 has already been merged.

@YasasRangika YasasRangika added 4.3.0 4.3.0-M1 4.3.0 M1 Milestone labels Jan 12, 2024
@YasasRangika YasasRangika added this to the 4.3.0-M1 milestone Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants