To enable logging, build the source as shown here:
$ cmake -D ALMEM_LOGGING=Y -S <source_dir> -B <build_dir>
Logs will be stored in the “/tmp/libmem.log” file. Enable debugging logs by uncommenting the following line from “CMakeLists.txt” in the root directory. Debugging logs: add_definitions(-DLOG_LEVEL=4)