Added means to log output