cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

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.

Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent)

Node JS Agent :: Logs configuration

Node JS Agent :: Logs configuration

i have my Node JS Agent configured and it shows up in AppD Monitoring portal .
I am using [Node 7.10.1 - Alpine Linux with glibc] Docker environment on AWS clould
The problem is, i cannot see the logs in host environment under /tmp/ as configured below /tmp/appd
using 4.3.4 npm module 
 
Is there any issue below logging configuration?
In the docs(link below content at end) , it says debug mode would show logs in stdout (does that mean logging file won't get created in debug mode)
 
require('appdynamics').profile({
controllerHostName: '.....,
controllerPort: 443,
controllerSslEnabled: true, // Set to true if controllerPort is SSL
accountName: ....,
accountAccessKey: ....,
applicationName: ....
tierName: ....
nodeName: domain name ,
debug: true,
logging: {
'logfiles': [{
'root_directory': '/tmp/appd',
'filename': 'echo_%N.log',
'level': 'DEBUG',
'max_size': 10000,
'max_files': 10
}]
}
});
Tags (2)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Node JS Agent :: Logs configuration
1 REPLY 1
Ayush.Ghosh
AppDynamics Team

Hi Shiva, 

 

When you start the Node.JS application in debug mode, the log location is logged out in the console. You can get it from there.

 

It should be /tmp/appd for any linux machines.

 

 

Thanks

Ayush