cancel
Showing results for 
Search instead for 
Did you mean: 

EXOS Python : write messages to log

EXOS Python : write messages to log

Linus_Lindblad
New Contributor
I have a script that automates a few procedures over time. In order to trace the execution of this command through central logging I'd like to write a custom log messages to the exos log.

I've looked around and can't quite see any examples of what specific functions in python would do this.
1 ACCEPTED SOLUTION

Ludovico_Steven
Extreme Employee
XOS has a CLI command to add messages to the log : create log message ""
I just invoke that CLI command from my Python scripts.

View solution in original post

2 REPLIES 2

Linus_Lindblad
New Contributor
Works wonderfully!

Many thanks!

Ludovico_Steven
Extreme Employee
XOS has a CLI command to add messages to the log : create log message ""
I just invoke that CLI command from my Python scripts.
GTM-P2G8KFN