Disable logging

Duncan Berriman duncan at berrimans.co.uk
Fri May 4 08:29:51 EDT 2012


Thanks that is useful!

Duncan

> -----Original Message-----
> From: devel-bounces at pidgin.im [mailto:devel-bounces at pidgin.im] On Behalf
> Of John Indra
> Sent: 04 May 2012 04:17
> To: devel at pidgin.im
> Subject: Re: Disable logging
> 
> 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
> >
> 
> _______________________________________________
> Devel mailing list
> Devel at pidgin.im
> http://pidgin.im/cgi-bin/mailman/listinfo/devel
> 
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.




More information about the Devel mailing list