It is very simple to log out from the Messenger app. Open the Facebook application then go to the More button (the three vertical lines at the top right corner), now open the setting, and privacy section to find the security tap. Click on the logout button. There you go.