[DOSGI-230] Make threads configurable, add logging
3 files changed