Implementation of logging.
Test application set-up.