Enhance logging functionality in CLI and tunnel operations. Updated gpu-rent logs to provide a complete journal output, including cloud-init logs by default. Added log digest printing for better visibility during VM operations, especially on failure scenarios. Improved error handling and added tests for new log digest features.
This commit is contained in:
@@ -304,8 +304,11 @@ def run_tunnel(
|
||||
maybe_warmup_ollama_local(cfg, log)
|
||||
|
||||
from gpu_rent.access_card import print_access_card
|
||||
from gpu_rent.term import console as term_console
|
||||
from gpu_rent.vm_logs import print_log_digest
|
||||
|
||||
print_access_card(cfg, tunneled=True, host=current_host)
|
||||
print_log_digest(cfg, current_host, console=term_console)
|
||||
|
||||
if open_browser:
|
||||
webbrowser.open(open_url)
|
||||
|
||||
Reference in New Issue
Block a user