Use the ASL logging facility instead of printing to standard output.

The logs now appear in the Console application.