- You can enable and disable all of the feature flags at runtime
- Added support for the CLEF submission format.
- Fixed a bug wherein configure_from_file would not propagate feature flags
- You can pass bare strings in the exc_info field (although this serves the same purpose as enabling STACK_INFO and using that variable)
- A bugfix wherein configure_from_file would not relay it's arguments to configure_from_dict in the correct order
- Fix incorrect stack-trace in logged exceptions (#69).
- Hide errors caused by unavailable Seq server (#61).
- Fix type-hint on set_global_log_properties (#60).
- Improve behaviour of best_effort_json_encode so it does not convert JSON to a string (#59).
- StructuredLogRecord now converts non-string msg to string (#51).
- Improve logging-error logging behaviour when a failure handler has been registered (#52).
- Improve implementation of SeqLogHandler._build_event_data() (#42).
- Temporarily revert changes for including stack_info (if present) in event payloads sent to Seq (#42).
- Include stack_info (if present) in event payloads sent to Seq (#42).
- Add support for handling extra log properties via the extra argument (#41).
- added checking if None was passed as element of a message
- fixed #13
- Added a callable to be called each time log submission fails
- Fixed logging messages containing braces
- Add an option to specify a callable in global properties
- Improve handling of log entries with log-record arguments of type "bytes" (#25).
- Pass exception details when posting events to Seq (#22).
- Fix deprecated use of yaml.load (#20).
- Explicitly set
Content-Type
header toapplication/json
when posting events to Seq (#17).
- If logging fails to submit an event to Seq then log the response body, if available (#17).
- Fix incorrect behaviour when configuring logging from a file (#10).
Breaking change: Configuring logging from file or dict will now by default override the default logger class to be
StructuredLogger
(this can be reverted to previous behaviour by passinguse_structured_logger=False
).
- Add PyYAML as a dependency (#6).
- Improve documentation for logging configuration from file (#3)
- Implement and document logging configuration from file (#3)
- Fix sample code (#2).
- Use streaming mode when posting to Seq (#1)
- Updated release notes
- Further work relating to intermittent "RuntimeError: The content for this response was already consumed" when publishing log entries (#1)
- Fix for intermittent "RuntimeError: The content for this response was already consumed" when publishing log entries (#1)
- Support for configuring additional log handlers when calling log_to_seq.
- Support for global log properties (statically-configured properties that are added to all outgoing log entries).
- First release on PyPI.
log_to_seq
now returns the SeqLogHandler to enable forced flushing of log records to Seq.- Change
auto_flush_timeout
to afloat
representing seconds (instead of milliseconds). - Update
testharness.py
to actually log to Seq. You can override the server URL and API key using theSEQ_SERVER_URL
andSEQ_API_KEY
environment variables. - Update usage information in documentation.
- Python 3 only for now (sorry, but logging in Python 2 doesn't have all the required extensibility points). If the need to support Python 2 becomes great enough then I'll try to find a way.
- Proper versioning starts today :)