Skip to content

Commit 0d1a21a

Browse files
committed
Added logging for print id
1 parent 174971a commit 0d1a21a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

printer/modules/gerard.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def create_print_job(
8686
lp_command_output = print_job.stdout.read()
8787
logging.info(f"lp command stdout was {lp_command_output}")
8888
print_id = lp_command_output.split()[3]
89+
logging.info(f"Extracted Job ID: {print_id}")
8990
return print_id
9091
except Exception:
9192
logging.exception(f"unable to parse print job from stdout")

0 commit comments

Comments
 (0)