add system logging, while maintaining console log