Got the logger working