Skip to content

Commit

Permalink
Merge pull request #989 from whirm/lower_misc_loglevels
Browse files Browse the repository at this point in the history
Lower a couple of log entries that aren't errors.
  • Loading branch information
LipuFei committed Dec 16, 2014
2 parents 4040d78 + 21bd960 commit e072ff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tribler/Core/Libtorrent/LibtorrentMgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def create_session(self, hops=0):
ltsession.add_dht_router('router.utorrent.com', 6881)
ltsession.add_dht_router('router.bitcomet.com', 6881)

self._logger.error("Started libtorrent session for %d hops on port %d", hops, ltsession.listen_port())
self._logger.debug("Started libtorrent session for %d hops on port %d", hops, ltsession.listen_port())

return ltsession

Expand Down
2 changes: 1 addition & 1 deletion Tribler/Core/TFTP/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def _process_packet(self, session, packet):
session.last_contact_time = time()
# check if it is an ERROR packet
if packet['opcode'] == OPCODE_ERROR:
self._logger.error(u"%s got ERROR message: code = %s, msg = %s",
self._logger.warning(u"%s got ERROR message: code = %s, msg = %s",
session, packet['error_code'], packet['error_msg'])
session.is_failed = True
return
Expand Down

0 comments on commit e072ff4

Please sign in to comment.