Disable logging

John Indra i.john at me.com
Thu May 3 23:17:24 EDT 2012


In the hope that this would probably help someone in the future:

After libpurple init, you can issue the following 2 lines to turn off IM and chat logging:

purple_prefs_set_bool("/purple/logging/log_ims", FALSE);
purple_prefs_set_bool("/purple/logging/log_chats", FALSE);

Regards,
John

On May 3, 2012, at 3:09 PM, John Indra wrote:

> Hi all,
> 
> What is the appropriate way to turn off logging in libpurple?
> 
> I am building a custom app using libpurple and won't be needing logging for all conversations.
> 
> I have tried reading the documentation in conversation.h and log.h, have tried purple_log_uninit() after a call to purple_core_init (but I think this is the wrong solution because my app dies). I think I'm still shooting to the wrong spot.
> 
> Please help.
> 
> Thanks,
> John
> 




More information about the Devel mailing list