Logo Search packages:      
Sourcecode: fail2ban version File versions  Download package

def logreader::logreader::LogReader::getTime (   self,
  line 
)

Gets the time of a log message.

Definition at line 190 of file logreader.py.

00190                              :
            """ Gets the time of a log message.
            """
            date = 0
            timeMatch = re.search(self.timeregex, line)
            if timeMatch:
                  date = self.getUnixTime(timeMatch.group())
            return date
            
      def getUnixTime(self, value):


Generated by  Doxygen 1.6.0   Back to index