Hello
When implementing StartApplicationInterface is there a way to log to the activity log of the application from the method onStartApplication?
Thank You for any advice, or examples you can share.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No, I don't believe there is a way to write to the activity log during
AppStart. You can write to your own file for logging purposes. And if
you're creating Global or Application Data variables, you can view the
value of each variable by name, using the jconsole.exe -
JConsole is started by double-clicking C;\Cisco\CVP\jre\bin\jconsole.exe.
You then enter the hostname:9696 and omit the user and password.
When you connect, it'll report SecureConnectionFailed, and you'll press
the button marked Insecure
Then click on the tab named MBeans and you can drill down to find the
place to click on showGlobalData or showApplicationData.
It's a nice way to verify that you've created the global/app data you
think you have.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.