Skip to content

Commit b32775b

Browse files
nit: use dbos_logger instead of print for Conductor message (#516)
Replace print() call with dbos_logger.info() for consistency with existing logging patterns. This allows suppression via logging config.
1 parent fc2da2d commit b32775b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbos/_dbos.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,8 @@ def _launch(self, *, debug_mode: bool = False) -> None:
569569
conductor_registration_url = (
570570
f"https://console.dbos.dev/self-host?appname={app_name}"
571571
)
572-
print(
573-
f"To view and manage workflows, connect to DBOS Conductor at:{conductor_registration_url}"
572+
dbos_logger.info(
573+
f"To view and manage workflows, connect to DBOS Conductor at: {conductor_registration_url}"
574574
)
575575

576576
# Flush handlers and add OTLP to all loggers if enabled

0 commit comments

Comments
 (0)