allow disable logging