Add some log to navbutton.