Merge LoggerAttachments into master (fixes #1547)