basic logger
fixes for logger