Fixed bug in swapping of X and Y axis in logger statement.