consumes logging messages and saves it