replaced stdout print with logging to file and stdout
logging tweaks
serve logging on /log for clients
Merge pull request #2 from rscmbbng/logging

Logging
Merge pull request #1 from stuff2233/master

pull in logging from stuff2233