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

Disable default access logger and utilize log4j2 for http access logs #2185

Merged
merged 1 commit into from
Jun 17, 2024

Commits on Jun 11, 2024

  1. Disable default access logger and utilize log4j2 for http access logs

    Related to wso2/micro-integrator#3281
    Currently, HTTP Access logs use a custom implementation to write the logs to the file. This has a request and response queue to hold the logs and write them to the file using a Timer task. In a high-traffic scenario, this becomes a bottleneck because the Heap memory easily fills up because of the logs added to the queuea.
    
    This commit disables the current implementation and utilizes log4j2 to write the access logs to the file system which is more efficient. Also, timer tasks are removed and LinkedBlockingQueue is used to handle logs asynchronously in a timely manner.
    arunans23 committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    20a6846 View commit details
    Browse the repository at this point in the history