You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by "Alonexc (via GitHub)" <gi...@apache.org> on 2023/01/31 08:12:54 UTC
[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #2975: [Enhancement] Method passes a concatenated string to SLF4J's or Log4j2's format string[EventMeshTcpMonitor]
Alonexc opened a new issue, #2975:
URL: https://github.com/apache/incubator-eventmesh/issues/2975
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
### Enhancement Request


located at:
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/metrics/tcp/EventMeshTcpMonitor.java line 137
analysis and explanation:
This method uses an SLF4J or Log4J2 logger to log a string which was produced through a call to String.format, where the format string passed was a constant string containing only simple format markers that could be directly handled by SLF4J or Log4J. Rather than doing logger.error(String.format("This %s is an error", s));do logger.error("This {} is an error", s).
### Describe the solution you'd like
reference:


### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org
[GitHub] [eventmesh] harshithasudhakar commented on issue #2975: [Enhancement] Method passes a concatenated string to SLF4J's or Log4j2's format string[EventMeshTcpMonitor]
Posted by "harshithasudhakar (via GitHub)" <gi...@apache.org>.
harshithasudhakar commented on issue #2975:
URL: https://github.com/apache/eventmesh/issues/2975#issuecomment-1500796743
Can I work on the issue, if it's not taken?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
[GitHub] [eventmesh] Alonexc commented on issue #2975: [Enhancement] Method passes a concatenated string to SLF4J's or Log4j2's format string[EventMeshTcpMonitor]
Posted by "Alonexc (via GitHub)" <gi...@apache.org>.
Alonexc commented on issue #2975:
URL: https://github.com/apache/eventmesh/issues/2975#issuecomment-1501481520
Of course.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
[GitHub] [eventmesh] xwm1992 closed issue #2975: [Enhancement] Method passes a concatenated string to SLF4J's or Log4j2's format string[EventMeshTcpMonitor]
Posted by "xwm1992 (via GitHub)" <gi...@apache.org>.
xwm1992 closed issue #2975: [Enhancement] Method passes a concatenated string to SLF4J's or Log4j2's format string[EventMeshTcpMonitor]
URL: https://github.com/apache/eventmesh/issues/2975
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
[GitHub] [eventmesh] Alonexc commented on issue #2975: [Enhancement] Method passes a concatenated string to SLF4J's or Log4j2's format string[EventMeshTcpMonitor]
Posted by "Alonexc (via GitHub)" <gi...@apache.org>.
Alonexc commented on issue #2975:
URL: https://github.com/apache/eventmesh/issues/2975#issuecomment-1495184696
You look to see if your url address is correct and if it is your own repository address.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
[GitHub] [eventmesh] indra057 commented on issue #2975: [Enhancement] Method passes a concatenated string to SLF4J's or Log4j2's format string[EventMeshTcpMonitor]
Posted by "indra057 (via GitHub)" <gi...@apache.org>.
indra057 commented on issue #2975:
URL: https://github.com/apache/eventmesh/issues/2975#issuecomment-1493406091
i have forked the repository to my account but when i try to push it to my own forked repository copy git says:
git push origin fix_patch_2975
remote: Permission to apache/eventmesh.git denied to indra057.
fatal: unable to access 'https://github.com/apache/eventmesh.git/': The requested URL returned error: 403
Can u help me in fixing the issue
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
[GitHub] [eventmesh] dipankr commented on issue #2975: [Enhancement] Method passes a concatenated string to SLF4J's or Log4j2's format string[EventMeshTcpMonitor]
Posted by "dipankr (via GitHub)" <gi...@apache.org>.
dipankr commented on issue #2975:
URL: https://github.com/apache/eventmesh/issues/2975#issuecomment-1504064115
Hi,
I have created a PR for this issue, please review
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org