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

Logging should be reduced when in production mode #86

Closed
victorpablosceruelo opened this issue Sep 25, 2015 · 8 comments
Closed

Logging should be reduced when in production mode #86

victorpablosceruelo opened this issue Sep 25, 2015 · 8 comments

Comments

@victorpablosceruelo
Copy link

When in production mode DCEVM still logs too much. Messages are like:

(-1 / -1) (org/hotswap/agent/plugin/jvm/AnonymousClassInfos$AnonymousClassInfoMatcher/org/hotswap/agent/plugin/jvm/AnonymousClassInfos$AnonymousClassInfoMatcher)
{instance class}

  • klass: {other class}
    {instance class}
  • klass: {other class}

Please, reduce logging by applying the patch in
HotswapProjects/HotswapAgent#57
or something similar.

Thanks in advance.

@cchilds
Copy link

cchilds commented Oct 9, 2015

I am also experiencing this issue and it is very annoying. A fix would be much appreciated.

@vnom2112
Copy link

vnom2112 commented Oct 9, 2015

Same here, would love to see this fixed.

@PrabakaranSK
Copy link

A must needed fix ASAP.

After every 3-4 lines of JBoss INFO statements, I keep getting log below and it is really annoying while debugging because we might miss the actual debug log:

(-1 / -1) (org/hotswap/agent/plugin/proxy/java/CtClassJavaProxyGenerator$ConstantPool$Entry/org/hotswap/agent/plugin/proxy/java/CtClassJavaProxyGenerator$ConstantPool$E
ntry)
{instance class}

  • klass: {other class}
    {instance class}
  • klass: {other class}
    (-1 / -1) (org/hotswap/agent/plugin/proxy/ProxyBytecodeTransformer/org/hotswap/agent/plugin/proxy/ProxyBytecodeTransformer)
    {instance class}
  • klass: {other class}
    {instance class}
  • klass: {other class}
    (-1 / -1) (org/hotswap/agent/plugin/proxy/AbstractProxyTransformer/org/hotswap/agent/plugin/proxy/AbstractProxyTransformer)
    {instance class}
  • klass: {other class}
    {instance class}
  • klass: {other class}
    (-1 / -1) (org/hotswap/agent/plugin/proxy/SinglestepProxyTransformer/org/hotswap/agent/plugin/proxy/SinglestepProxyTransformer)
    {instance class}
  • klass: {other class}
    {instance class}
  • klass: {other class}
    (-1 / -1) (org/hotswap/agent/plugin/proxy/ProxyBytecodeGenerator/org/hotswap/agent/plugin/proxy/ProxyBytecodeGenerator)
    {instance class}
  • klass: {other class}
    {instance class}
  • klass: {other class}
    (-1 / -1) (org/hotswap/agent/plugin/proxy/ProxyTransformer/org/hotswap/agent/plugin/proxy/ProxyTransformer)
    {instance class}
  • klass: {other class}
    {instance class}
  • klass: {other class}

@ronaldtm
Copy link

On the other hand, should you even be using this in production? o_O

@cchilds
Copy link

cchilds commented Nov 19, 2015

This is not just an issue in production. It's very hard to debug when your logs and stack traces are lost in a sea of annoying, useless messages.

@idubrov
Copy link
Contributor

idubrov commented Dec 7, 2015

Try this release: https://github.com/dcevm/dcevm/releases/tag/full-jdk7u79%2B8

Does it reduce amount of logging?

@cchilds
Copy link

cchilds commented Dec 7, 2015

Wow, this is fantastic. That works great. Thank you so much!

@idubrov idubrov closed this as completed Dec 8, 2015
@PrabakaranSK
Copy link

Will it also work with JDK 7 u55 (Windows)? UPDATE: It is working !!! Thanks for fixing it, great!

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

6 participants