optionally log uniqueid as well