Fixes COMETD-472 (NullpointerException if Seti logging level is set to debug).
Merge branch '2.7.x' into 'master'.