On 2007/10/27, at 12:40 AM, ZANG wrote:

Hi All

 

Can someone please tell me where do I see a “warn” message.

I want to use “warn” to give information about the generated sql, etc.

I checked in all log files, but I cannot find it.

Please help!

 

Regards

 

Zang




Hi Zang,

Have a look in your /usr/local/koha/log/koha-error_log file (or equivalent) for the output of your warns.

If you need more mysql specific info try turning on the mysql logging, 
by uncommenting this line, in your /etc/mysql/my.conf

#log        = /var/log/mysql/mysql.log

then tail -f the /var/log/mysql/mysql.log

Cheers, Mason

--
Mason James                                mason.james@liblime.com
Programmer                                         www.liblime.com
LibLime                                             +64 21 542 117