Fixed CTRL_LOGGING

Signed-off-by: Mikhail Grigorev <sleuthhound@gmail.com>