mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 22:14:19 +01:00
convert all 'print' calls to 'log.msg'
This commit is contained in:
@@ -46,7 +46,7 @@ class DBLogger(dblog.DBLogger):
|
||||
cp_max = 1)
|
||||
|
||||
def sqlerror(self, error):
|
||||
print 'SQL Error:', error.value
|
||||
log.msg( 'SQL Error:', error.value )
|
||||
|
||||
def simpleQuery(self, sql, args):
|
||||
""" Just run a deferred sql query, only care about errors """
|
||||
|
||||
Reference in New Issue
Block a user