dstack
dstack copied to clipboard
The new default "rich" server logger format emits unreadable logs
╱╱╭╮╱╱╭╮╱╱╱╱╱╱╭╮
╱╱┃┃╱╭╯╰╮╱╱╱╱╱┃┃
╭━╯┣━┻╮╭╋━━┳━━┫┃╭╮
┃╭╮┃━━┫┃┃╭╮┃╭━┫╰╯╯
┃╰╯┣━━┃╰┫╭╮┃╰━┫╭╮╮
╰━━┻━━┻━┻╯╰┻━━┻╯╰╯
╭━━┳━━┳━┳╮╭┳━━┳━╮
┃━━┫┃━┫╭┫╰╯┃┃━┫╭╯
┣━━┃┃━┫┃╰╮╭┫┃━┫┃
╰━━┻━━┻╯╱╰╯╰━━┻╯
✓ Applied ~/.dstack/server/config.yml
The admin token is be68ae95-050f-472f-84c1-5c25ac898b52
The dstack server (no version) is running at http://127.0.0.1:8000
[10:28:33] DEBUG c dstack._internal.server.background.tasks.process_instance…
h
e
c
k
i
n
s
t
a
n
c
e
p
l
a
s
t
i
c
-
r
a
t
-
1
-
0
-
0
s
t
a
t
u
s
:
s
h
i
m
h
e
a
l
t
h
i
s
O
K
Steps to reproduce?
@peterschmidt85 This is the logs I get when running dstack server --log-level=debug
from master. The terminal width is 83.
#1114 suggested hiding module paths to leave more space for messages. However we decided to keep module paths for better navigation and debugging.
Alternatively, we can try moving module paths from a separate column to the message column so that the path is displayed below the message or as part of the message.