07-08-2016 04:51 AM
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.
Solved! Go to Solution.
07-08-2016 07:42 AM
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.
07-08-2016 07:42 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide