To enable event logging for specific Inference/Query member:
- connect to the cluster using as-admin session.
- execute command "show members" and record the Member-Name of the Inference/Query agent where the query is being executed
- execute command below to enable event logging on the member:
execute on member '<membername>' set event_log log_level 'INFO'
4. filter information will be recorded in the as-events-<id>.log which is located at (<currentWorkDir>/log/as-events-<id>.log)
To validate the filter string check for String '"filter" :' in the event log file. e.g:
{"time" : "2018-03-21T10:33:29.501", "thread" : 7584, "level" : "INFO", "module" : "TestSpace", "method" : "Space::getEntryHandlesCount", "msg" : "arg", "filter" : "Prop1 = 'test9834'"}
Note:Event logging cannot be disabled once enabled. To reduce the output in the event log file, set the log_level to "ERROR":
execute on member '<member_name>' set event_log log_level 'ERROR'