Made logging better