Logging

Prev Next

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.