Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-12-2017 10:53 AM
Reporting this as a bug/FYI. using appdynamics-sdk-native-64bit-windows-4.3.1.5 sdk.
When trying to connect to the controller, and behind a firewall, the following lines are output before the appd_sdk_init returns -1.
Error: APPD_SDK_STATUS_CODE __cdecl ApiUtils::init_boilerplate(void): Invalid logging config file: "C:/Users\conf\appdynamics_sdk_log4.cxxx.xml"
Error: APPD_SDK_STATUS_CODE __cdecl appdynamics_sdk_init_base(struct _APPD_SDK_ENV_RECORD *, unsigned int, int): Error code 8.
Error: int __cdecl appd_sdk_init(const struct appd_config *): Error code 8.
No errors are reported in the Proxy logs
10-16-2017 11:39 PM
Hi Robert,
Were you able to install using the install.bat script?Currently, it seems like install was not a success and it didn't create appdynamics_sdk_log4.cxxx.xml file .
Could you please try running the install.bat script again after following the below steps
Steps to do
1.Replace the install.bat in your environment with the one attached
2.Please use the appdynamics_sdk_log4cxx.xml.win.template attached to the ticket instead of xml.template in your environment.
Once it is done can you please restart proxy and try running the application again.Let us know how it goes.
Thanks and Regards,
Sajna Sreenivasan
10-25-2017 12:36 PM
Yes I had successfully run the install batch file (after editing it because of the name of the template was different.)
What I just noticed is that the application that has the AppDynamics SDK linked in has to have the logging xml config file local (in a conf subdirectory.) It does not see the one in the sdk/proxy installation directories
10-26-2017 11:24 AM
Is there a setting like an environment variable we can use to point to a logging config file for C/C++ applications using the SDK?
The only way I can get the apps to find it, is by creating c:\users\conf directory and putting it in there.
03-18-2019 01:00 AM
Hi Robert,
Yes, It is possible to do that.
The following should give you some directions
Thanks,
Sajna Sreenivasan
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form