Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

          x= syslog_config.log_config_values(syslog=true)

      if

      // Values to pass to _log_match() 

       if x==1

           return _log_match(syslog=true)

      elif x==2

           return _log_match(syslog=false)

      elif x==3 

          syslog_return = _log_match(syslog=true) 

            // Read in local logs only if syslog log match is returned true true. If syslog fails there is no need to check in local logs 

          if syslog_return:   

            return  return _log_match(syslog=false)

          else:

            return syslog_return

...

             fmt="%b %d %H:%M:%S"

        try try:

             t = time.strptime(datetime, fmt)

...