swapped printf for Log