handling html tags while logging