1. 29 Nov, 2018 1 commit
    • Ben Nemec's avatar
      Fix up nits in log rotation change · 8db5661b
      Ben Nemec authored
      Just a couple of doc things that became out of date due to some
      code changes during the review process.
      
      Change-Id: I5820f7940d8d32546174da132db5be5a209a2200
      8db5661b
  2. 21 Nov, 2018 1 commit
    • Daniel Vincze's avatar
      Add config options for log rotation · 22e8a347
      Daniel Vincze authored
      On Windows, in-use files cannot be moved or deleted. For this reason,
      we need the service itself to take care of rotating logs.
      
      For convenience reasons, we're exposing the built-in rotating log
      handlers through a set of config options.
      
      More specifically, we're adding the following new config options:
      - log_rotate_interval
      - log_rotate_interval_type
      - max_logfile_count
      - max_logfile_size_mb
      
      Change-Id: I01db4efc08e2cb64db9cbf793f3a159f54859fe7
      Closes-Bug: #1802262
      22e8a347
  3. 13 Nov, 2018 1 commit
  4. 10 Aug, 2018 1 commit
  5. 03 May, 2018 1 commit
  6. 27 Apr, 2018 1 commit
  7. 28 Aug, 2017 1 commit
  8. 11 Jul, 2017 1 commit
  9. 27 Jun, 2017 2 commits
  10. 15 May, 2017 1 commit
  11. 19 Apr, 2017 1 commit
    • Monty Taylor's avatar
      Add additional info like python-systemd does · a5ee482c
      Monty Taylor authored
      Upstream python-systemd has a journald logging handler that also adds
      some exception information, as well as thread information.
      
        https://github.com/systemd/python-systemd/blob/master/systemd/journal.py#L581-L589
      
      While OpenStack doesn't use a lot of threads, we might as well support it
      since it's no cost. Also, add PROCESS_NAME just to be compatible with
      other programs that might use python journald logging. Not entirely sure
      if record.processName and the results of our self.binary_name will be
      different.
      
      The exception info is the fun stuff though.
      
      Change-Id: Ibf0d7dae7587639737e0327f0338f30cdfc6aba1
      a5ee482c
  12. 06 Apr, 2017 1 commit
    • Sean Dague's avatar
      Documentation for journal usage · 9525631a
      Sean Dague authored
      This adds documentation and the release not for systemd journal
      support in oslo.log.
      
      Change-Id: I91157749ddc3029af0d4df101db4d09661a2cd2f
      9525631a
  13. 14 Sep, 2016 1 commit
    • Masaki Matsushita's avatar
      Implement FluentFormatter · 62ba713e
      Masaki Matsushita authored
      This change implements FluentFormatter, a formatter for fluentd.
      It enables oslo_log to output logs to fluentd directly.
      FluentFormatter expects it will be used by fluent.handler.FluentHandler.
      
      DocImpact
      Implements: blueprint fluent-formatter
      Change-Id: I67be5079f9370e93e5e3d4c715d2b8011154a2ce
      62ba713e
  14. 23 Aug, 2016 1 commit
    • Atsushi SAKAI's avatar
      Fix typos · 3fa753d7
      Atsushi SAKAI authored
      osli        => oslo
      respository => repository
      demostrates => demonstrates
      
      Change-Id: I76badc9f5852fafaff627770b11c5948ae1cffd7
      3fa753d7
  15. 11 Jul, 2016 1 commit
  16. 01 Jun, 2016 1 commit
  17. 05 May, 2016 1 commit
    • yan.haifeng's avatar
      Fix example issue · c63991fb
      yan.haifeng authored
      example LOG.exception("An Exception occurred") in both usage.py,
      usage_helper.py and usage_i18n.py failed when use py34.
      
      fix it by raising exception before calling LOG.exception().
      
      Change-Id: I2b6ea35fbf171232fea0cc54265f8be3dc61457f
      Closes-Bug: #1578071
      c63991fb
  18. 04 Mar, 2016 1 commit
  19. 04 Feb, 2016 1 commit
  20. 15 Jan, 2016 1 commit
    • Ronald Bradford's avatar
      Improve Logging docs with inline examples and context example · 77d2c4de
      Ronald Bradford authored
      Also cleaned up set_default example syntax, to help other projects
      to implement consistently. Ensured example code passed flake8.
      Created a dedicated examples page and applicable links to enable
      viewing and download capability of examples.
      
      Change-Id: Idd16321110df824dc89faf86a2cf9f47f38d1f4f
      Depends-on: I6f92b525c6d0bdf71b01d3ac89d537b458d17e6f
      77d2c4de
  21. 11 Jan, 2016 1 commit
    • Ronald Bradford's avatar
      Improve documentataion of Oslo Log Usage · 185c10a3
      Ronald Bradford authored
      Added examples to explain how to implement Oslo Logging
      and to show how it interacts with Oslo Config and i18n.
      
      Revised configuration option help (and order) to provide a better
      documented Configuration Options page
      
      Change-Id: Idf4a8788f887ba07fe1b3604e06b165366b2c808
      185c10a3
  22. 12 Oct, 2015 1 commit
  23. 24 Sep, 2015 3 commits
  24. 22 Sep, 2015 1 commit
    • Mark Doffman's avatar
      Add optional 'fixture' dependencies. · 362f329b
      Mark Doffman authored
      Add extra 'fixture' section so that projects needing to use
      oslo_log.fixture can add 'oslo.log [fixture]' to their
      requirements to install the fixture dependencies
      
      Closes-Bug: #1493976
      Change-Id: I67f3f59c50627a41b672928d037a7bd9997caa11
      362f329b
  25. 28 Aug, 2015 1 commit
    • Sean McGinnis's avatar
      Fix poor examples of exception logging · f718919c
      Sean McGinnis authored
      There were several examples showing passing an
      exception in as the message text to a call to
      LOG.exception. LOG.exception will automatically
      log the exception details, so doing something
      like this results in the exception information
      being written out twice.
      
      To prevent the possibility of someone seeing these
      examples and assuming that is the correct way to
      use LOG.exception, examples have been updated to
      use LOG.error instead to illustrate the correct
      way to pass in exceptions in the message string.
      
      Change-Id: I582008609180a02eaff3d85bee5b5ca4381719ce
      f718919c
  26. 12 May, 2015 1 commit
    • Doug Hellmann's avatar
      Add versionutils to API documentation · 3a4dc52c
      Doug Hellmann authored
      Add an automodule directive for the new module.
      
      Clean up the existing docstring so it renders a bit more nicely.
      
      Update the usage page to refer to the new location of versionutils.
      
      Change-Id: Ib732509186e56ed2b39638129e2ec4272da1aa9d
      3a4dc52c
  27. 08 Apr, 2015 1 commit
    • Joshua Harlow's avatar
      Add pypi download + version badges · c7501678
      Joshua Harlow authored
      Also makes the docs look more like the other
      oslo libraries so that the content is easily readable
      across projects.
      
      Change-Id: Ic9837b59d194331c604b2ceddc118f2b1c5093f1
      c7501678
  28. 25 Mar, 2015 1 commit
    • Doug Hellmann's avatar
      Add link to Logging Guidelines · 33f051f8
      Doug Hellmann authored
      Link to the cross-project spec that lists the project logging
      guidelines.
      
      Change-Id: I6dc6827795bead703e9da44a8927ca6d87215eca
      33f051f8
  29. 10 Mar, 2015 1 commit
    • Doug Hellmann's avatar
      Add migration notes · 35e51bc3
      Doug Hellmann authored
      Add a few notes about changes that will need to be made in applications
      as they adopt oslo.log.
      
      Change-Id: Iad33b7f87e1a07f62e24cd81358170309879e6ec
      35e51bc3
  30. 30 Jan, 2015 1 commit
    • Doug Hellmann's avatar
      Expose fixtures through oslo_log.fixture · 472b68f9
      Doug Hellmann authored
      Expose the fixtures through the package import instead of requiring the
      user to import each module.
      
      Add documentation for the fixtures.
      
      Change-Id: Ic96a030c45853406c2b77740b26d168cb8882f5c
      472b68f9
  31. 06 Jan, 2015 1 commit
    • Doug Hellmann's avatar
      Add API documentation · 4ad39016
      Doug Hellmann authored
      Add basic API documentation for the public parts of the libary.
      
      Change-Id: Ie3df3c6a1517c2d1b9f9fc052528c62b8fdde388
      4ad39016
  32. 18 Dec, 2014 1 commit
    • Doug Hellmann's avatar
      Move files out of the namespace package · a5b9c2ec
      Doug Hellmann authored
      Move oslo.log to oslo_log. Since this library has not been released, we
      do not need to retain the old interface for compatibility.
      
      bp/drop-namespace-packages
      
      Change-Id: Id8e2312a72af171918fa4d40117ec652018a37bf
      a5b9c2ec
  33. 24 Sep, 2014 1 commit
  34. 04 Sep, 2014 1 commit
    • Doug Hellmann's avatar
      Simple doc cleanup · 85b20dd6
      Doug Hellmann authored
      Fix up the readme and contributing files.
      
      Add history file.
      
      Change-Id: I9c56e8db74d0abae03581a0633a6ae783201e397
      85b20dd6
  35. 25 Aug, 2014 1 commit