There’s some figuring out to do, but you should find everything here: Logging binding in separate file.