Skip to main content

Node.js

To collect logs by your Node.js application, check the following.

Agent Update​

It is available from Node.js agent 0.5.1. For more information about the update, see the following.

Checking the agent settings​

Home > Select Project > Log > Log Setting

Select a project in the initial screen of the WhaTap monitoring service, and then select Log > Log Setting under Project Menu. Proceed with the process according to the instructions in the Check agent settings tab of the Getting started with log monitoring section.

  1. Under Project Menu, select Management > Agent CONFIG..

  2. In Write options, select Direct Input. Add the logsink_enabled=true option to the input field as follows:

  3. Restart the application to apply the log monitoring.

Key options​

  • logsink_enabled Boolean

    Default false

    Set whether or not to enable the log monitoring.

Enabling the log monitoring​

Home > Select Project > Log > Log Setting

You can enable or disable the WhaTap log monitoring with the toggle button in the Activate log monitoring tab of the Starting the log monitoring section.

  • If you turn on Icon, the log monitoring is enabled. You can try for free for 15 days from the activation date.
  • If you turn off Icon, the log monitoring is disabled. Logs are no longer saved.
Note

Role

After agent installation, you can enable the log monitoring settings only when you have the edit permission on the project. For more information about the roles, see the following.