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

How to disable pinpoint agent console stdout #11018

Closed
linux0x5c opened this issue May 15, 2024 · 2 comments
Closed

How to disable pinpoint agent console stdout #11018

linux0x5c opened this issue May 15, 2024 · 2 comments

Comments

@linux0x5c
Copy link
Contributor

pinpoint-agent version 2.3.0

I modified log level to ERROR in $PINPOINT_HOME/lib log4j.xml and $PINPOINT_HOME/profiles/release/log4j2.xml ,but don't work. The console log
still exist.


05-15 14:54:53.950 INFO PinpointBootStrap : pinpoint agentArgs:null
05-15 14:54:53.976 INFO PinpointBootStrap : PinpointBootStrap.ClassLoader:null
05-15 14:54:53.976 INFO PinpointBootStrap : ContextClassLoader:sun.misc.Launcher$AppClassLoader@18b4aac2
05-15 14:54:53.978 INFO ClassAgentPathFinder : agentPath:/usr/local/pinpoint-agent/pinpoint-bootstrap-2.3.0.jar
05-15 14:54:53.978 INFO PinpointBootStrap : JavaAgentPath:/usr/local/pinpoint-agent/pinpoint-bootstrap-2.3.0.jar
05-15 14:54:53.979 INFO AgentDirBaseClassPathResolver : Agent original-path:/usr/local/pinpoint-agent
05-15 14:54:53.979 INFO AgentDirBaseClassPathResolver : Agent canonical-path:/usr/local/pinpoint-agent
05-15 14:54:53.980 INFO BootDir : found pinpoint-commons.jar path:/usr/local/pinpoint-agent/boot/pinpoint-commons-2.3.0.jar
05-15 14:54:53.981 INFO BootDir : found pinpoint-bootstrap-core.jar path:/usr/local/pinpoint-agent/boot/pinpoint-bootstrap-core-2.3.0.jar
05-15 14:54:53.982 INFO BootDir : found pinpoint-annotations.jar path:/usr/local/pinpoint-agent/boot/pinpoint-annotations-2.3.0.jar
05-15 14:54:53.982 INFO BootDir : found pinpoint-bootstrap-java8.jar path:/usr/local/pinpoint-agent/boot/pinpoint-bootstrap-java8-2.3.0.jar
05-15 14:54:53.983 INFO BootDir : found pinpoint-bootstrap-java9.jar path:/usr/local/pinpoint-agent/boot/pinpoint-bootstrap-java9-2.3.0.jar
05-15 14:54:53.994 INFO AgentDirBaseClassPathResolver : Found plugins:/usr/local/pinpoint-agent/plugin/pinpoint-jdk-completable-future-plugin-2.3.0.jar
05-15 14:54:53.994 INFO AgentDirBaseClassPathResolver : Found plugins:/usr/local/pinpoint-agent/plugin/pinpoint-redis-plugin-2.3.0.jar
05-15 14:54:53.995 INFO AgentDirBaseClassPathResolver : Found plugins:/usr/local/pinpoint-agent/plugin/pinpoint-okhttp-plugin-2.3.0.jar

@emeroad
Copy link
Member

emeroad commented May 17, 2024

#8171

-Dpinpoint.agent.bootlogger.loglevel=WARN

Please refer to the options above.

@linux0x5c
Copy link
Contributor Author

Thanks, I got it.

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

No branches or pull requests

2 participants