Add a file logger to the pub-sub example