Added LogSink to log input (for testing)