Skip to content

Commit

Permalink
remove unneed log_file_path.touch()
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
eriktaubeneck and coderabbitai[bot] authored Jan 19, 2024
1 parent 25d4212 commit 674c11b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sidecar/app/query/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def __post_init__(self):
self.logger = logger.bind(task=self.query_id)
self._log_dir.mkdir(exist_ok=True)
self._status_dir.mkdir(exist_ok=True)
self.log_file_path.touch()
self._logger_id = logger.add(
self.log_file_path,
format="{extra[role]}: {message}",
Expand Down

0 comments on commit 674c11b

Please sign in to comment.