To add the general log, add the following entries into the cnf ile;
general_log_file = /var/log/mysql/mysql.log
general_log = 1
The logging can also be stated and stopped from the command line;
SET GLOBAL general_log = 'OFF';
SET GLOBAL general_log = 1;
See also here