Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 685 Bytes

how-to-active-agent-log.org

File metadata and controls

16 lines (11 loc) · 685 Bytes

How to active Node.js Agent log

Node.js agent uses debug framework for output log, and your can active the log before you deploy application currently. Note: Node.js Agent only support that output the log to console currently.

To active all level log, You should add following variable into environment variables before you deploy application.

DEBUG=skyapm:*

Maybe you just want to active error level log, That’s fine, just add the variable into environment variables. The Agent support four log level: debug info warn error currently.

DEBUG=skyapm:error