Custom Logger tool to Filter Gateway Log Noise

Brainstorm Feeler Post:

What are your experiences using custom loggers in your gateways and local projects?

Context:
One issue that we have been having with our central gateway is a lot of nuisance log entries.

We are trying to figure out how to use custom loggers to filter out these nuisance logs on the gateway.

The topics that we have to understand or ask are:

  • What is a nuisance log entry and how will that be filtered (internal)

  • Will filtered log entries save us gateway resources or just be visually hidden while still taking up resources

If I am misunderstanding the application or scope of custom loggers I would appreciate the feedback.

Changing logging levels does impact logging resources. In scripting, you generally should use the .debug(), .debugf(), .trace(), and .tracef() methods to report potentially important information. These methods will short-circuit and avoid actually logging until a user sets the corresponding log level to DEBUG or TRACE. (All loggers start up in INFO level.)