Added output handling to bakeryLog