Fixing some problems with showing logs