added cmLogger injection to cmKey