cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
730
Views
0
Helpful
1
Replies

StartApplicationInterface Logging

MikeHMirt
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

janinegraves
Spotlight
Spotlight

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.

View solution in original post

1 Reply 1

janinegraves
Spotlight
Spotlight

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: