Skip to content

Commit

Permalink
fix: adjust terminal size for request logger
Browse files Browse the repository at this point in the history
  • Loading branch information
PromiseFru committed Jun 24, 2024
1 parent 01e581c commit 58c86fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grpc_internal_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self):
Initialize the LoggingInterceptor.
"""
self.logger = logger
self.terminal_width = os.get_terminal_size().columns
self.terminal_width = 100

def intercept(self, method, request_or_iterator, context, method_name):
"""
Expand Down
2 changes: 1 addition & 1 deletion grpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self):
Initialize the LoggingInterceptor.
"""
self.logger = logger
self.terminal_width = os.get_terminal_size().columns
self.terminal_width = 100

def intercept(self, method, request_or_iterator, context, method_name):
"""
Expand Down

0 comments on commit 58c86fe

Please sign in to comment.