cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

582
Views
0
Helpful
1
Replies
MikeHMirt
Beginner

StartApplicationInterface Logging

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
Rising star

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
Rising star

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.

Create
Recognize Your Peers
Content for Community-Ad