added input and output to printStatus() method and fixed lastLogTime bug