I donot have a my.cnf file. I have hard coded values for msl to log slow queries in mysql.server script.
# Start daemon
if test -x $bindir/mysqld_safe
# Give extra arguments to mysqld with the my.cnf file. This script may
# be overwritten at next upgrade.
$bindir/mysqld_safe --log-slow-queries=/usr/local/mysql/logs/ --long_query_time=2 --datadir=$datadir --pid-file=$pid_file >/dev/null 2>&1 &
# Make lock for RedHat / SuSE
if test -w /var/lock/subsys
echo "Can't execute $bindir/mysqld_safe from dir $basedir"
MySQL will not log em.
Do I really need a my.cnf file or is there a way to work with the above code