splitting this here and logging line-by-line so that all of the log messages have the leading log identifier in front of them, like "[NotebookApp]"