Use console.log in xw.Log and fix filtering