text file for remainder
implemented max log lines of console log