Topic
  • 1 reply
  • Latest Post - ‏2013-10-05T01:00:41Z by erin.schnabel
JungWoonLee
JungWoonLee
6 Posts

Pinned topic Is there any way to log stderr output ?

‏2013-09-04T12:24:48Z |

Hi,

My question is very simple...Is there any way to log stderr output ?

I had tried to debug the issue of JNI and tuned on "-Xcheck:jni:All",but logs related with "-Xcheck:jni:All" are showed on console of eclipse, not file - message.log

what will I do to log logging data related with "-Xcheck:jni:All" as a file, not console print ?

 

Thanks,

  • erin.schnabel
    erin.schnabel
    16 Posts

    Re: Is there any way to log stderr output ?

    ‏2013-10-05T01:00:41Z  

    The JVM trace goes to a file handle we can not control or redirect from within the VM.

    If you start the server using the command line script  (the server script in the bin directory of the installation), then all of the JVM trace will go to console.log, and you can look at it there.