- replace with scala logging