re-implement logging for use ASCII only