Skip to content

Commit

Permalink
fix: #5055 (#5066)
Browse files Browse the repository at this point in the history
* fix: #5055

* fix: #5044
  • Loading branch information
hanxiao committed Aug 16, 2022
1 parent c1c500a commit 26d24d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions jina/orchestrate/flow/base.py
Expand Up @@ -1098,8 +1098,8 @@ def add(
"""
# implementation_stub_inject_end_add

needs = kwargs.get('needs', None)
copy_flow = kwargs.get('copy_flow', True)
needs = kwargs.pop('needs', None)
copy_flow = kwargs.pop('copy_flow', True)
deployment_role = kwargs.get('deployment_role', DeploymentRoleType.DEPLOYMENT)

op_flow = copy.deepcopy(self) if copy_flow else self
Expand Down
4 changes: 2 additions & 2 deletions jina/resources/logging.default.yml
Expand Up @@ -16,8 +16,8 @@ configs:
port: # when not given then record it locally, /dev/log on linux /var/run/syslog on mac
formatter: PlainFormatter
RichHandler:
format: '[dim]{name}@%(process)2d[/dim] %(message)s'
markup: true
format: '{name}@%(process)2d %(message)s'
markup: false
rich_tracebacks: true
show_path: false
log_time_format: '[%x %X]'
2 changes: 1 addition & 1 deletion jina/resources/logging.docker.yml
Expand Up @@ -17,7 +17,7 @@ configs:
formatter: PlainFormatter
RichHandler:
format: '🐳 %(message)s'
markup: true
markup: false
show_path: false
show_level: false
show_time: false

0 comments on commit 26d24d0

Please sign in to comment.