-
Notifications
You must be signed in to change notification settings - Fork 478
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
Default logging is very verbose #57
Comments
Hi, can you please describe your setup? This logging is directly from DCEVM and is only related to Hotswap Plugin class redefinition. Default HotswapAgent logging level is INFO. Do you use latest DCEVM? |
I'm using JDK 1.7.0_51 64 bit (host: Win7), DCEVM 24.51-b03-dcvmfull-3 (latest on dcevm.github.io). I've noticed that the verbose logging does not happen at other webapps, so there might be something application specific going on. If I run the application with DCEVM but without HotswapAgent the logging stops. If you need additional information, let me know. |
Logging Source of this stuff is definitively DCEVM or OpenJDK respectively. I did some private patch, because I hate this mess. |
Do you have the patch somewhere? |
Comment following lines (this is for v7u85):
|
Thank you very much. It works perfectly for 7u79 too. I've asked DCEVM developers to apply your patch or something similar when in production mode Hope it helps other people. |
My solution is hack. I didn't study the purpose, why the messages are printed directly to stdout. There should be another solution how to avoid this. |
@skybber - Would you be kind enough to patch the DCE VM source all by yourself, as it seems no one is assigned to fix this issue on DCEVM side? |
I have spent days trying to get dcevm to compile with no success. If someone here has or could get a build of java 7u79 full, with these logging fixes applied, I would love you forever. |
cchilds, if you use debian/ubuntu you can use the following url as repository: It is 7u79 without patching, but it is the only version I have successfully patched. If not, you can always download the package and extract the files from it. |
Thanks @vpablos, but unfortunately, I'm using Windows. Thanks anyway. What issues are you having with Mars and DCEVM? I have used it with Mars quite a bit with no problems. |
If you're experienced with DCEVM, HotswapAgent is easy to get running.
My only problem with the default is that the logging is a very verbose. I'm having trouble following my own application's logging.
Most of the logging looks like this:
I've tried disabling the logging but it appears my
LOGGER=warn
in a hotswap-agent.properties in my classpath doesn't seem to be picked up.(BTW: Thanks for a pretty great alternative to JRebel :))
The text was updated successfully, but these errors were encountered: