Logging
  • 25 Jan 2024
  • 1 Minute to read
  • Contributors
  • PDF

Logging

  • PDF

Article summary

Logging

Logging is pretty trivial in custom nodes. Just call nodeBase.log method with a log level and your log message.

	nodeBase.log(LogLevel.info, "some log message");
    

In custom nodes you have access to the following log levels:

const LogLevel = {
	verbose: 0,
	debug: 1,
	info: 2,
	warning: 3,	
	error: 4,
	critical: 5
};

Reading the logs

As of current version you can check logs from kibana UI. If you are using an on-premise installation you can just check the logs yourself. For the cloud installations you will need to ask the IT to check your logs.

Coming Soon

There is ongoing work for sending the logs to the clients as logging events. When this becomes operational in the future, the clients will have the opportunity to receive their own logs while their session is still active.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.