It is not recommended to use macros when defining the value of the 'Logger name'. Else, in step 2 you would have to create a specific logger for all possible results of the macro substitution. For example, if you would use {RecipientName}
as part of the 'Logger name', you will need to create a logger for each of the partners which might be a recipient of the document.