Centralize the logging code into its own folder in Common.