Added logging. Updated travis configuration.