simple log formatting