You have to set a mysql query rule to get the logging of the queries that you want.
INSERT INTO mysql_query_rules (rule_id, active, username, match_pattern, log,apply) VALUES (1, 1, 'raja', '.', 1, 0);
LOAD MYSQL QUERY RULES TO RUNTIME;
SAVE MYSQL QUERY RULES TO DISK;
In the given example, the rule will make sure that all the queries coming from usename 'raja' gets logged into the file that you mentioned as events file in the variables.
If you want longs from all users just ignore adding a username(default is null)
Also, the log files are binary, you cant open them using normal text editors. proxysql give a tool to read these files, it is eventslog_reader_sample you can check this in the github page
Regards,
-Raja.