changed log and to lower case