Implemented application logging.