log to file on server in case google doc fails

added a simple logging mechanism  to write to a file on the same server
in case someone's browser setup is not friendly to populating Google
Docs