I installed mysql 5.0 and need to set up slow-query-log and other logging options.

Here is what I did. But I dont see it working yet.

1. cd /var/db/mysql
2. chown mysql slowquery.log
3. touch /usr/local/etc/my.cnf
4. chown mysql /usr/local/etc/my.cnf

vi my.cnf

[mysqld_safe]
-u mysql
--log-slow-queries=/var/db/mysql/slowquery.log




so now when I type:
Code:
mysqladmin shutdown
and than
Code:
mysqld_safe &
my sql restarts but the log files are not being used.
also - how do I know if my my.cnf is being used at all?