How to remove 'Message log' tab from profile page?
It's part of the Messages modules; it has nothing to do with Private messages.

It's not a glitch, it's what this module does: a simple example of a way to deliver messages (notifications) to users.