Added debugging logger to application