add logging and config integration