What’s filling up the logs so fast? UDF debug messages? Are you running this on a production server or some test/dev environment?
Are you seeing any other errors in the server logs instead?
The debug messages you posted don’t really show anything interesting. These are all just messages from when you registered the module using AQL. None of these messages show your attempts to execute the function.
What you want to look out for is any UDF debug logs that appear between the query start and end, e.g. something like this:
Apr 27 2018 02:36:03 GMT: INFO (scan): (scan.c:930) starting aggregation scan job 10949451309221731945 {test:test} priority 2
Apr 27 2018 02:36:03 GMT: DEBUG (udf): (udf_record.c:191) [ENTER] Opening record key:<Digest>:0xf5f86f3d4855adffe8def9a0d902fac71f578b8f
...
Apr 27 2018 02:36:03 GMT: INFO (scan): (scan.c:1041) finished aggregation scan job 10949451309221731945 (0)