config logger