add support for configuring logging