Skip to content

Commit

Permalink
Fixed #49: removed server.log file, log to default stream instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
yaph committed Aug 6, 2016
1 parent 492238a commit 6b93d84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions logya/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ def __init__(self, logya):
self.logya = logya
self.logya.init_env()

log_file = os.path.join(self.logya.dir_site, 'server.log')
logging.basicConfig(filename=log_file, level=logging.INFO)
logging.basicConfig(level=logging.INFO)

HTTPServer.__init__(
self, (self.logya.host, self.logya.port), HTTPRequestHandler)
Expand Down

0 comments on commit 6b93d84

Please sign in to comment.