Move external logging to its own file
Change invocation to fit new API