Changes for new different log message types

Also fixed error in Cot String