﻿Using logging instead of print