Replace the log file each time, as this makes debugging easiser
This commit is contained in:
parent
215af1316a
commit
ba456e863d
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,8 @@ import vim
|
|||
import json
|
||||
import string
|
||||
|
||||
_log_handler = logging.FileHandler( os.path.expanduser( '~/.vimspector.log' ) )
|
||||
_log_handler = logging.FileHandler( os.path.expanduser( '~/.vimspector.log' ),
|
||||
mode = 'w' )
|
||||
_log_handler.setFormatter(
|
||||
logging.Formatter( '%(asctime)s - %(levelname)s - %(message)s' ) )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue