Skip to content

Commit 669c630

Browse files
committed
add logger example to script
1 parent 986fd5e commit 669c630

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

generic-orchestration-samples/setup/setup_send_command/send_command.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ def send_command(sandbox, components=None):
1818
res_id = sandbox.id
1919
res_details = api.GetReservationDetails(res_id).ReservationDescription
2020
resources = res_details.Resources
21+
logger = sandbox.logger
22+
logger.info("send command flow starting...")
2123
linux_resources = [resource for resource in resources
2224
if resource.ResourceModelName == LINUX_MODEL]
2325
if not linux_resources:

0 commit comments

Comments
 (0)