Logging: Add runtime to moduleDone

Add runtime to moduleDone
Minor cleanup of other logging runtime

Fixes #645