You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] The replaceParam method of AbstractLogger behaves unexpectedly when the replaced string contains a replacement marker #13591
We don't want to use complex regex to be honest.
Why we need to put agent logs so complex? It should be just a simple version implementation, as agent plugin is the only one using it.
This is not an app logger.
We don't want to use complex regex to be honest. Why we need to put agent logs so complex? It should be just a simple version implementation, as agent plugin is the only one using it. This is not an app logger.
I fully agree with your point. Regular expressions are unnecessary here, simple string replacement would suffice for implementation.
Activity
wu-sheng commentedon Nov 26, 2025
We don't want to use complex regex to be honest.
Why we need to put agent logs so complex? It should be just a simple version implementation, as agent plugin is the only one using it.
This is not an app logger.
shichaoyuan commentedon Nov 26, 2025
I fully agree with your point. Regular expressions are unnecessary here, simple string replacement would suffice for implementation.
wu-sheng commentedon Nov 26, 2025
Could you explain more about which is the bug now? Or file a PR to show the code change without using regex.
shichaoyuan commentedon Nov 26, 2025
I submitted a PR apache/skywalking-java#782