include optional log attribute to save messages to