Skip to main content

Improved Job Log Parsing

· One min read

Job log parsing has been improved for Node.js and Python applications to consolidate log messages with newline into a single log line.

Hook files are now automatically added to the job environment in the /opt/pml/hooks folder. This folder can be access with the ML_RUNTIME_HOOKS environment variable. The python file sitecustomize.py will automatically be added to PYTHONPATH and executed prior to all python applications running. NODE_OPTIONS will also be modified to require the pml-format-output.js file to modify console.log behavior.