6 Jul
2011
6 Jul
'11
11:14 p.m.
On 07/06/2011 08:47 AM Meisam Navaki wrote:
Hi, I wanna modify Dovecot source code.For that,I need to know how can we log a special message into Dovecot source code? I tried to write a function to write a message in a file and added it to Dovecot source code,but it didn't work. I'm wondering if we can use Dovecote logging functions,but I don't know what are those functions and how can we use them. Thanks in advance.
There are the functions i_{panic,fatal,error,warning,info,debug}. See also: http://hg.dovecot.org/dovecot-2.0/file/537d4b6d9a7a/src/lib/failures.h#l50
Regards, Pascal
The trapper recommends today: f007ba11.1118722@localdomain.org