logger init from config