We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5580a1f commit 55060d7Copy full SHA for 55060d7
runpod/serverless/modules/logging.py
@@ -12,7 +12,6 @@ def log(message, level='INFO'):
12
Log message to stdout if RUNPOD_DEBUG is true.
13
'''
14
set_level = os.environ.get('RUNPOD_DEBUG_LEVEL', 'INFO').upper()
15
- level = level.ljust(7)
16
17
if os.environ.get('RUNPOD_DEBUG', 'true').lower() != 'true':
18
return
@@ -26,6 +25,7 @@ def log(message, level='INFO'):
26
25
if set_level == 'INFO' and level not in ['ERROR', 'WARN', 'INFO']:
27
28
+ level = level.ljust(7)
29
print(f'{level}| {message}', flush=True)
30
31
0 commit comments