Commits

Matthew Schinckel committed 93d6537

Log our LogEntry messages to normal logs too.

Comments (0)

Files changed (1)

 CHANGE = 2
 DELETION = 3
 
+import logging
+logger = logging.getLogger('repose.logentry')
 
 class ReposeLogEntry(models.Model):
     action_time = models.DateTimeField(_('action time'), auto_now=True)
     event.object_repr = smart_unicode(obj)
     
     event.save()
+    
+    logger.info(unicode(change_message))