Logging with actual logger. Removing wait/notify mechanism from input stream reading.