Fixes for sharing models when the shared mongoose version is the same.
Log to stdout/stderr instead of files.