Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

Commit

Permalink
Uncomment lines
Browse files Browse the repository at this point in the history
  • Loading branch information
grewn0uille committed Feb 27, 2018
1 parent 6d0c327 commit 6bc82d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sherlog/log_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def insert_missing_lines(dbsession, logfile):
config = get_config()
dbsession = get_session(config)
insert_missing_lines(dbsession, config['DEFAULT'].get('LOGFILE'))
# fd = LogTail(config['DEFAULT'].get('LOGFILE'))
# for line in fd.tail():
# insert_log(line, dbsession)
# dbsession.commit()
fd = LogTail(config['DEFAULT'].get('LOGFILE'))
for line in fd.tail():
insert_log(line, dbsession)
dbsession.commit()

0 comments on commit 6bc82d8

Please sign in to comment.