More work with logging