Redirecting IONIX Hookscript Output

Our hook scripts dump all their output to the SAM log file, which can clog that file with info. Is there an easy way to direct hook script output to a separate log file?


You cant redirect it as such, but you CAN use operations of the ACT_File class instead of the ASL "print" statement.

f = create("ACT_File", "my-ACT-File-Object");
f->fileName = "my-log-file.txt";
f->writeln("A useful log message");

The resulting file is created in the "logs" directory, and can be rolled simply by renaming it.

Scroll to Top