Skip to content

Commit

Permalink
Log traceback
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Mar 15, 2013
1 parent 75b0148 commit c71a5dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jediepcserver.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ def jedi_epc_server(address='localhost', port=0, port_file=sys.stdout,
port_file.close() port_file.close()


if log: if log:
server.log_traceback = True
handler = logging.FileHandler(filename=log, mode='w') handler = logging.FileHandler(filename=log, mode='w')
if log_level: if log_level:
log_level = getattr(logging, log_level.upper()) log_level = getattr(logging, log_level.upper())
Expand Down

0 comments on commit c71a5dd

Please sign in to comment.