Skip to content

Commit

Permalink
Removes requirement of existence /var/log/zipline.log
Browse files Browse the repository at this point in the history
Instead log to test.log in working directory when running tests.

Also, removes config file for logging module, that is no longer
used since we are now using LogBook.
  • Loading branch information
Eddie Hebert committed Oct 12, 2012
1 parent aa0d3e0 commit 0c96915
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 38 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pip-log.txt
# Unit test / coverage reports
.coverage
.tox
test.log

*.py[co]

Expand Down
37 changes: 0 additions & 37 deletions zipline/logging.cfg

This file was deleted.

2 changes: 1 addition & 1 deletion zipline/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from logbook import FileHandler


def setup_logger(test, path='/var/log/zipline/zipline.log'):
def setup_logger(test, path='test.log'):
test.log_handler = FileHandler(path)
test.log_handler.push_application()

Expand Down

0 comments on commit 0c96915

Please sign in to comment.