Node app for logging events