add ability to output LOG