add logger configuration, add abstaraction in params