How to use the logentries.le.ConfiguredLog function in Logentries

To help you get started, we’ve selected a few Logentries examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LogentriesCommunity / le_openshift / logentries / le.py View on Github external
except ConfigParser.NoOptionError:
                    pass

                formatter = ''
                try:
                    formatter = conf.get(name, FORMATTER_PARAM)
                except ConfigParser.NoOptionError:
                    pass

                entry_identifier = ''
                try:
                    entry_identifier = conf.get(name, ENTRY_IDENTIFIER_PARAM)
                except ConfigParser.NoOptionError:
                    pass

                configured_log = ConfiguredLog(name, token, destination, path, formatter, entry_identifier)
                self.configured_logs.append(configured_log)