Skip to content

Commit

Permalink
git ignore logs
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-wild committed Jul 26, 2022
1 parent cb762ab commit 1ca522d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ docs/build/
# temporary files
temp/

# log files
*.log
2 changes: 1 addition & 1 deletion causal_testing/json_front/json_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,5 @@ def add_modelling_assumptions(self, estimation_model: Estimator):
@staticmethod
def setup_logger(log_path: Path):
logger = logging.getLogger(__name__)
fh = logging.FileHandler(log_path + "logs.txt")
fh = logging.FileHandler(log_path + "json_frontend.log")
logger.addHandler(fh)

0 comments on commit 1ca522d

Please sign in to comment.