feature: flag to optionally disable logging