Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
Reporting this as a bug/FYI. using appdynamics-sdk-native-64bit-windows-220.127.116.11 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
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,
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
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.
Yes, It is possible to do that.
The following should give you some directions