Added simple log generation