added datalogId to messages