By default, the message history (one-to-one) are stored on your computer in a local database.

 

What happens if you disable logging for private dialogues?

Messages won't be stored to a local database and you won't be able to view the history of previous private dialogues with other people.