Where are Instant Messages Stored?

When you install a messenger, there is a default file where logs are kept when you set the program to save all of your conversations. Sometimes they are stored under your My Documents folder or they are stored within the program file itself.