Configurable topic logger for ruby scripts