Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jul 18, 2024
1 parent 43b9e10 commit 87b3933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 08_logging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ common:
- type: log
hours_elapsed: 0.025
options:
message: "{job} increasing to 800 RPM" # alerts the message: "stirring increasing to 800 RPM"
message: "${{job_name()}} increasing to 800 RPM" # alerts the message: "stirring increasing to 800 RPM"
- type: update
hours_elapsed: 0.025
options:
Expand All @@ -31,5 +31,5 @@ pioreactors:
- type: log
hours_elapsed: 0.01
options:
message: "Hello {unit} and {job} and {experiment}" # alerts the message "Hello worker1 and od_reading and _testing_experiment"
message: "Hello ${{unit()}} and ${{job_name()}} and ${{experiment()}}" # alerts the message "Hello worker1 and od_reading and _testing_experiment"
level: INFO # by default, it's NOTICE level. Can be DEBUG, INFO, NOTICE, WARNING, ERROR

0 comments on commit 87b3933

Please sign in to comment.