Simplify log generation