Logging module for node