Changelog
v0.7.0 (in development)
Support Python 3.14
Drop support for Python 3.8 and 3.9
v0.6.1 (2024-12-01)
Support Python 3.9, 3.10, 3.11, 3.12, and 3.13
Drop support for Python 3.5, 3.6, and 3.7
LogEntry’s__eq__method now returnsNotImplementedinstead ofFalsewhen comparing against non-LogEntryvaluesMigrated from setuptools to hatch
v0.6.0 (2020-10-13)
Support Python 3.8
%snow matches any sequence of exactly three digits. Previously, it matched either ‘0’ or any sequence of digits not beginning with ‘0’. Thanks to @chosak for the patch.
v0.5.0 (2019-05-21)
Improved the routine for assembling
request_timefromrequest_time_fields:If the month is only available as a full or abbreviated name and the name is not in English, try looking it up in the current locale
If the year is only available in abbreviated form (the
%ydirective) without a century (%C), treat years less than 69 as part of the twenty-first century and other years as part of the twentiethWhen necessary, use the values of the
%G,%g,%u,%V,%U,%W, and%wtime directives to derive the dateIf
%Zequals"GMT","UTC", or one of the names intime.tzname, produce an awaredatetime
%{%n}tand%{%t}tnow match any amount of any whitespace, in order to match strptime(3)’s behaviorBreaking: Renamed the
request_time_fieldskeys for%{%G}tand%{%g}tfrom"week_year"and"abbrev_week_year"to"iso_year"and"abbrev_iso_year", respectively%{%p}tcan now match the empty string (its value in certain locales)%{%Z}tcan now match the empty string
v0.4.0 (2019-05-19)
Support the
%{c}hlog directive%fand%Rcan now beNoneBugfix:
%ucan now match the string""(two double quotes)Support
mod_ssl’s%{*}cand%{*}xdirectivesSupport the
%{hextid}Pdirective (as a hexadecimal integer)Support the
%Land%{c}LdirectivesParameters to
%{*}p,%{*}P, and%{*}Tare now treated case-insensitively in order to mirror Apache’s behaviorRefined some directives to better match only the values emitted by Apache:
%land%mno longer accept whitespace%sand%{tid}Pnow only match unsigned integers%{*}Cno longer accepts semicolons or leading or trailing spaces%qno longer accepts whitespace or pound/hash signs
v0.3.0 (2019-05-12)
Gave
LogEntryadirectivesattribute for looking up directive values by the corresponding log format directives
v0.2.0 (2019-05-09)
v0.1.0 (2019-05-06)
Initial release