30 Jul
2010
30 Jul
'10
5:27 a.m.
On 07/30/2010 04:15 AM John O'Brien wrote:
Hi,
I'm very new to Dovecot plug-in development. Is there a simple way to do so some simple logging. I want and equivalent of printf to be able stick strings in /var/log/maillog.
Regards,
John
When developing for v1.2x use check for mail_debug and use i_info(). See for example: http://hg.dovecot.org/dovecot-1.2/file/c275504993c6/src/plugins/quota/quota-...
But when you say you are 'very new' to plugin development, I hope you are using 'very new' Dovecot v2.0. ;-) Then simply use i_debug().
Regards, Pascal
The trapper recommends today: beeffeed.1021104@localdomain.org