Simplify the logging code