I have installed the release & CVS versions of nss-mysql and have, apparently, been unable to turn off the debug logging. It was my impression that turning off the debug logging would improve performance, but syslog seems to get the same results no matter what I do.
What should I be seeing with debug mode turned off?
Below is what I'm seeing:
Feb 10 15:17:44 dave5 libnss_mysql[6377]: getpwnam called for imapshared
Feb 10 15:17:44 dave5 libnss_mysql[6377]: read_conf_file called for section user
s
Feb 10 15:17:44 dave5 libnss_mysql[6377]: read_conf_file ended for section users
Feb 10 15:17:44 dave5 libnss_mysql[6377]: fill_struct called for user imapshared
Feb 10 15:17:44 dave5 libnss_mysql[6377]: using default port
Feb 10 15:17:44 dave5 libnss_mysql[6377]: connection with host=myhost.mydomain.com,use
r=toad,passwd=x,database=toadnet,port=3306
Feb 10 15:17:44 dave5 libnss_mysql[6377]: sqlprintf(): buffersize=256, len=138
Feb 10 15:17:44 dave5 libnss_mysql[6377]: select username,uid,uid,gecos,shell,ho
me,gid from mailpasswd where username='imapshared' and uid is not null and mailp
asswd.pwstatus = 'x'
Feb 10 15:17:44 dave5 libnss_mysql[6377]: User not found...
Feb 10 15:17:44 dave5 libnss_mysql[6377]: after fill_struct, passwd == x
Feb 10 15:17:44 dave5 libnss_mysql[6377]: endpwent called
Feb 10 15:17:44 dave5 libnss_mysql[6377]: endpwent: pwent was NULL
Feb 10 15:17:44 dave5 libnss_mysql[6377]: endpwent finished
Seems to be the same as in debug mode... any thoughts appreciated.
Regards,
Dave
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The debug should print almost nothing in syslog.
Indeed, the debug mode slows down the library significantly..
Look at your config.h, DEBUG should be put to 0.
Regards,
Guillaume.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have installed the release & CVS versions of nss-mysql and have, apparently, been unable to turn off the debug logging. It was my impression that turning off the debug logging would improve performance, but syslog seems to get the same results no matter what I do.
What should I be seeing with debug mode turned off?
Below is what I'm seeing:
Feb 10 15:17:44 dave5 libnss_mysql[6377]: getpwnam called for imapshared
Feb 10 15:17:44 dave5 libnss_mysql[6377]: read_conf_file called for section user
s
Feb 10 15:17:44 dave5 libnss_mysql[6377]: read_conf_file ended for section users
Feb 10 15:17:44 dave5 libnss_mysql[6377]: fill_struct called for user imapshared
Feb 10 15:17:44 dave5 libnss_mysql[6377]: using default port
Feb 10 15:17:44 dave5 libnss_mysql[6377]: connection with host=myhost.mydomain.com,use
r=toad,passwd=x,database=toadnet,port=3306
Feb 10 15:17:44 dave5 libnss_mysql[6377]: sqlprintf(): buffersize=256, len=138
Feb 10 15:17:44 dave5 libnss_mysql[6377]: select username,uid,uid,gecos,shell,ho
me,gid from mailpasswd where username='imapshared' and uid is not null and mailp
asswd.pwstatus = 'x'
Feb 10 15:17:44 dave5 libnss_mysql[6377]: User not found...
Feb 10 15:17:44 dave5 libnss_mysql[6377]: after fill_struct, passwd == x
Feb 10 15:17:44 dave5 libnss_mysql[6377]: endpwent called
Feb 10 15:17:44 dave5 libnss_mysql[6377]: endpwent: pwent was NULL
Feb 10 15:17:44 dave5 libnss_mysql[6377]: endpwent finished
Seems to be the same as in debug mode... any thoughts appreciated.
Regards,
Dave
The debug should print almost nothing in syslog.
Indeed, the debug mode slows down the library significantly..
Look at your config.h, DEBUG should be put to 0.
Regards,
Guillaume.