def wasb_write(self, log, remote_log_location, append=True):
if append and self.wasb_log_exists(remote_log_location):<EOL><INDENT>old_log = self.wasb_read(remote_log_location)<EOL>log = '<STR_LIT:\n>'.join([old_log, log]) if old_log else log<EOL><DEDENT>try:<EOL><INDENT>self.hook.load_string(<EOL>log,<EOL>self.wasb_container,<EOL>remote_log_location,<EOL>)<EOL><DEDENT>except AzureHttpError:<EOL><INDENT>self.log.exception('<STR_LIT>',<EOL>remote_log_location)<EOL><DEDENT>
Writes the log to the remote_log_location. Fails silently if no hook
was created.
:param log: the log to write to the remote_log_location
:type log: str
:param remote_log_location: the log's location in remote storage
:type remote_log_location: str (path)
:param append: if False, any existing log file is overwritten. If True,
    the new log is appended to any existing logs.
:type append: bool