config and logger improvements