Changeset 9862e1a in osmose-backend


Ignore:
Timestamp:
Aug 4, 2014 7:59:32 PM (5 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
2184e07
Parents:
a0e2716
Message:

Cleaning around logs printing

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_sax.py

    re6d1a94 r9862e1a  
    414414 
    415415    def _run_analyse(self): 
    416         self._log(u"Analyse des données: "+self.config.src) 
     416        self._log(u"Analysing file "+self.config.src) 
    417417        self.parser.CopyTo(self) 
    418         self._log(u"Analyse terminée") 
     418        self._log(u"Analyse finished") 
    419419 
    420420    ################################################################################ 
     
    422422    def _close_plugins(self): 
    423423        # Fermeture des plugins 
    424         self._log(u"Déchargement des Plugins") 
     424        self._log(u"Unloading plugins") 
    425425        for y in sorted(self.plugins.keys()): 
    426426            self._sublog(u"end "+y) 
  • osmose_run.py

    ra6bb16e r9862e1a  
    381381                   state_ts = dateutil.parser.parse(s[len("timestamp="):]).replace(tzinfo=None) 
    382382                   cur_ts = datetime.datetime.today() 
    383                    print prev_state_ts, state_ts 
    384383                   if prev_state_ts != None: 
    385384                      print "   ", prev_state_ts - state_ts 
     
    731730    sys.path.insert(0, analysers_path) 
    732731 
     732    logger.log(logger.log_av_v+"loading analyses "+logger.log_ap) 
    733733    analysers = {} 
    734734    for fn in os.listdir(analysers_path): 
     
    736736            if options.analyser and fn[:-3] not in options.analyser: 
    737737                continue 
    738             logger.log(logger.log_av_v+"load "+fn[:-3]+logger.log_ap) 
     738            logger.log("  load "+fn[:-3]) 
    739739            analysers[fn[:-3]] = __import__(fn[:-3]) 
    740740    if options.analyser: 
Note: See TracChangeset for help on using the changeset viewer.