Open
Conversation
Owner
|
Thanks for this contribution! Some questions first:
|
Author
|
Hi Attila,
I tested with different versions but never got any issue. But maybe because
the versions were still compatible. I will try to test to see if this will
put limitation on agent that it will work only with Applications using a
certain version of log4j. ( But even if there is such limits, since we know
what our components are using and if it works for it then we can just state
the limitation in our README and can use with our components.)
As far as classpath is concerned, I would assume both has the same
classpath. If the application does not have log4j already in there
classpath then we might ahve to add it for the agent to work. Again< I will
test it with app not having log4j in there classpath and provide the steps
needed in such cases.
I will look into both the issues and get back to you.
Thanks & Regard
Bimal
Regards
Bimal
…On Wed, Mar 17, 2021 at 11:16 AM Attila Zsolt Piros < ***@***.***> wrote:
Thanks for this contribution!
Some questions first:
- have you tested this on an application which uses very different
log4j version?
- how the classpath of the agent and the classpath of the tested app
relates? (I know nothing about this and this is why I used std JDK method
for logging).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEW6UREOMX5PC72WT75W27TTEDIW7ANCNFSM4ZHSTVAQ>
.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For my debugging purpose It is helpful to have the Agent output along with the role log messages from the component instead of isolated in stdout. That way the messages comes in exact order along with other log messages. I have added code to use log4 and have kept it as a global configurable as well as ability to configure it specific to any action.
Please reviews this and see if it is worth merging.