Search

oslo.log API Reference

oslo.log API Reference¶

  • oslo_log.fixture
    • get_logging_handle_error_fixture()
    • SetLogLevel
  • oslo_log.formatters
    • ContextFormatter
      • ContextFormatter.format()
      • ContextFormatter.formatException()
    • FluentFormatter
      • FluentFormatter.format()
      • FluentFormatter.formatException()
    • JSONFormatter
      • JSONFormatter.format()
      • JSONFormatter.formatException()
  • oslo_log.handlers
    • ColorHandler
      • ColorHandler.LEVEL_COLORS
      • ColorHandler.format()
    • OSJournalHandler
      • OSJournalHandler.custom_fields
      • OSJournalHandler.emit()
    • OSSysLogHandler
      • OSSysLogHandler.emit()
  • oslo_log.helpers
    • log_method_call()
  • oslo_log.log
    • BaseLoggerAdapter
      • BaseLoggerAdapter.handlers
      • BaseLoggerAdapter.trace()
      • BaseLoggerAdapter.warn()
    • KeywordArgumentAdapter
      • KeywordArgumentAdapter.process()
    • LogConfigError
      • LogConfigError.message
    • getLogger()
    • get_default_log_levels()
    • get_loggers()
    • is_debug_enabled()
    • register_options()
    • set_defaults()
    • setup()
    • tempest_set_log_file()
  • oslo_log.versionutils
    • DeprecatedConfig
    • deprecated
    • deprecation_warning()
    • register_options()
    • report_deprecated_feature()
this page last updated: 2025-05-26 06:23:58
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug
  • Guides
  • Install Guides
  • User Guides
  • Configuration Guides
  • Operations and Administration Guides
  • API Guides
  • Contributor Guides
  • Languages
  • Deutsch (German)
  • Français (French)
  • Bahasa Indonesia (Indonesian)
  • Italiano (Italian)
  • 日本語 (Japanese)
  • 한국어 (Korean)
  • Português (Portuguese)
  • Türkçe (Türkiye)
  • 简体中文 (Simplified Chinese)

oslo.log 7.1.0

  • Installation
  • Using oslo.log
  • oslo.log API Reference
    • oslo_log.fixture
    • oslo_log.formatters
    • oslo_log.handlers
    • oslo_log.helpers
    • oslo_log.log
    • oslo_log.versionutils
  • Configuration Options
  • Administering Applications that use oslo.log
  • Contributing

OpenStack

  • Projects
  • OpenStack Security
  • Blog
  • News

Community

  • User Groups
  • Events
  • Jobs
  • Companies
  • Contribute

Documentation

  • OpenStack Manuals
  • Getting Started
  • API Documentation
  • Wiki

Branding & Legal

  • Legal Docs
  • Logos & Guidelines
  • Trademark Policy
  • Privacy Policy
  • OpenInfra CLA

Stay In Touch

The OpenStack project is provided under the Apache 2.0 license. Docs.openstack.org is powered by Rackspace Cloud Computing.