Protected KTLevel against building if log4cxx is not being used