post unposted logs
cleanup
error handling and old logfile posting
handle old logfiles