added User-Agent to open event
quote values with spaces in the logs
added docs for logging format
working output to syslog