##// END OF EJS Templates
fixed logging messages on whoosh indexer
marcink -
r2840:c7c58252 beta
parent child Browse files
Show More
@@ -280,10 +280,10 b' class WhooshIndexingDaemon(object):'
280 280 if writer_is_dirty:
281 281 log.debug('>> COMMITING CHANGES TO CHANGESET INDEX<<')
282 282 writer.commit(merge=True)
283 log.debug('>> COMMITTED CHANGES TO CHANGESET INDEX<<')
283 log.debug('>>> FINISHED REBUILDING CHANGESET INDEX <<<')
284 284 else:
285 285 writer.cancel
286 log.debug('>> NOTHING TO COMMIT<<')
286 log.debug('>> NOTHING TO COMMIT TO CHANGESET INDEX<<')
287 287
288 288 def update_file_index(self):
289 289 log.debug((u'STARTING INCREMENTAL INDEXING UPDATE FOR EXTENSIONS %s '
@@ -365,11 +365,11 b' class WhooshIndexingDaemon(object):'
365 365 )
366 366 finally:
367 367 if writer_is_dirty:
368 log.debug('>> COMMITING CHANGES <<')
368 log.debug('>> COMMITING CHANGES TO FILE INDEX <<')
369 369 writer.commit(merge=True)
370 log.debug('>>> FINISHED REBUILDING INDEX <<<')
370 log.debug('>>> FINISHED REBUILDING FILE INDEX <<<')
371 371 else:
372 log.debug('>> NOTHING TO COMMIT<<')
372 log.debug('>> NOTHING TO COMMIT TO FILE INDEX <<')
373 373 writer.cancel()
374 374
375 375 def build_indexes(self):
General Comments 0
You need to be logged in to leave comments. Login now