added log file dumping to file on server side
the server asumes a base64 encoded string to be decoded and written to file