implement logging throught menicus