Skip to main content

Log to file

5 commands. Toolkit id ooa.log.

CommandWhat it does
Add log fieldsAttach name and value pairs, such as the invoice number or customer, to every following line of this run's log until they are removed, so the log can be searched and filtered by them. Adding a name again changes its value.
Log to fileAppend (or overwrite with) a line in a text log file, with optional timestamp and level.
Log to One CommandCenterAdd a message, with optional details, to this run's log so it appears in One CommandCenter with the run's activity.
Log variables to fileWrite one name=value line per variable to a log file, to record the state of a run; credentials are written as ****.
Remove log fieldsStop attaching log fields to the following lines: the ones named, or all of them.