You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/01/12 05:23:35 UTC

[GitHub] KarmaGYZ commented on a change in pull request #7469: [hotfix][docs] Correct the usage of LOG.error

KarmaGYZ commented on a change in pull request #7469: [hotfix][docs] Correct the usage of LOG.error
URL: https://github.com/apache/flink/pull/7469#discussion_r247303165
 
 

 ##########
 File path: docs/monitoring/logging.md
 ##########
 @@ -93,7 +93,7 @@ Placeholders can also be used in conjunction with exceptions which shall be logg
 
 {% highlight java %}
 catch(Exception exception){
-	LOG.error("An {} occurred.", "error", exception);
 
 Review comment:
   Yes. So how about `LOG.error("An error occurred.", exception);`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services