Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 2
Registered: ‎03-11-2020

Enabling query log causes an error

I need to enable the general query log in my.cnf and when I add this:
general_log = 1

log_output = FILE

general_log_file = /var/log/mysql/query.log

It causes an error and mysql doesn't restart. I tried writing it in a thousand different ways and looking up on the documentation and tried with "-" instead of underscores, tried not typing "log_output" and not specifying a file...

I'm on xubuntu 20.04 if that matters, from what I understand, I shouldn't need to add anything to apparmor right? I'm out of ideas