KD: Separated logging