improve setup of logging levels and update docs