CLOUDIFY-2427 add some todos and refine stub logger