Moving the logic for uploading the log files out of panopticon and into porklock.