–quote--
If you want to create separate log files for every client host, use the ${HOST} macro when specifying the filename, for example:
destination d_local { file("/var/log/messages_${HOST}"); };
--quote--