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

issue-864 seprate logging error status and stack trace #865

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

BalloonWen
Copy link
Contributor

  • now logging the status ans stack trace separately
  • now will only log the stack trace when TRACE is enabled.

- now logging the status ans stack trace separately
- now will only log the stack trace when TRACE is enabled.
* @param code error code
* @param args arguments for error description
* @param code error code
* @param args arguments for error description
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for tab here as per javadoc standard

@@ -72,27 +73,35 @@ default void setExchangeStatus(HttpServerExchange exchange, String code, final O
* want to bubble up to the caller and eventually to the original caller.
*
* @param exchange HttpServerExchange
* @param status error status
* @param status error status
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for tab here as per javadoc standard

@stevehu stevehu merged commit a8667cd into master Dec 14, 2020
@stevehu stevehu deleted the feat/#864-error-log branch December 14, 2020 17:04
@BalloonWen BalloonWen changed the title issue-864 issue-864 seprate logging error status and stack trace Dec 14, 2020
younggwon1 pushed a commit to younggwon1/light-4j that referenced this pull request Feb 10, 2024
- now logging the status ans stack trace separately
- now will only log the stack trace when TRACE is enabled.

Co-authored-by: Bolun Wen <bolun.wen@sunlife.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split the error log in LightHttpHandler interface into 2 seperate error log statements
3 participants