Log in production

Add functions to log in log/production.log.

We'll change "logging.write" to "compound.logger.write" when version of compound will be ok.