Picked off "Add automatic uploading of log files" from the easy projects wiki. Right now it requires the -o option to log to file, and then uploads the log file contents to the pastebin. It's possible to bypass this step and just maintain the log in memory, but it felt weird keeping a constantly reallocating heap buffer of possibly infinite size.
Did some minimal testing and it seems to be working okay.
Signed-off-by: Michael Coppola michael.n.coppola@gmail.com