| 1 |
Revision history for Log-Dispatchouli |
| 2 |
|
| 3 |
3.101 2026-04-13 13:31:24-04:00 America/New_York |
| 4 |
- fix auto-using of Log::Fmt::XS, which was straight up broken |
| 5 |
|
| 6 |
3.100 2026-04-01 10:35:56-04:00 America/New_York |
| 7 |
- when present, use Log::Fmt::XS for emitting logfmt |
| 8 |
- abstract out logfmt tests for use in both Log::Fmt and Log::Fmt::XS |
| 9 |
test suites (but don't consider this public yet) |
| 10 |
|
| 11 |
3.013 2025-10-15 10:12:50-04:00 America/New_York |
| 12 |
- typo fixes and spec clarifications |
| 13 |
|
| 14 |
3.012 2025-10-14 12:39:48-04:00 America/New_York |
| 15 |
- [ BREAKING CHANGE (BARELY) ] |
| 16 |
Log::Fmt now includes a formal specification of the logfmt grammar we |
| 17 |
implement, as well as a description of algorithmns to correctly |
| 18 |
encode strings. The code has been updated to fall in line, meaning: |
| 19 |
- tabs now become \t |
| 20 |
- control and vertical space characters are now encoded as \x{...} of |
| 21 |
their UTF-8-encoded form, not their Unicode codepoint value |
| 22 |
- the "\" character now triggers double-quoting |
| 23 |
|
| 24 |
3.011 2025-07-28 11:43:33-04:00 America/New_York |
| 25 |
- [ BREAKING CHANGE ] |
| 26 |
This release converts all Logger methods to signatured-subs. This |
| 27 |
should not really break anything, unless methods are being called |
| 28 |
erroneously, as strict arity checking will now notice the wrong |
| 29 |
number of args. |
| 30 |
|
| 31 |
3.010 2025-07-16 09:04:21-04:00 America/New_York |
| 32 |
- add flog_messages and fmt_event, which return formatted strings |
| 33 |
without logging them |
| 34 |
|
| 35 |
3.009 2025-01-07 21:22:25-05:00 America/New_York |
| 36 |
- added documentation of the enable_stdout and enable_stderr methods, |
| 37 |
added in 2.018 |
| 38 |
|
| 39 |
3.008 2024-11-02 16:59:01+00:00 Europe/London |
| 40 |
- log_pid can now be a comma-delimited list of outputs, which is most |
| 41 |
likely useful for setting log_pid to "syslog" only |
| 42 |
- mark "to_file" for removal, probably in Nov 2025 |
| 43 |
|
| 44 |
3.007 2023-09-02 20:18:04-04:00 America/New_York |
| 45 |
- add the is_X methods to Proxy as they were on the root logger |
| 46 |
(thanks, Charlie Garrison) |
| 47 |
- in Log::Fmt tests, cope with the slightly different output of |
| 48 |
JSON::PP versus the XS implementations |
| 49 |
|
| 50 |
3.006 2023-08-11 10:58:09-04:00 America/New_York |
| 51 |
- fix a bug in Log::Fmt where an event data value that was a reference |
| 52 |
to a reference to an array was logged as its 0th element, not a |
| 53 |
flogged array reference |
| 54 |
|
| 55 |
3.005 2023-06-08 20:41:02-04:00 America/New_York |
| 56 |
- add parse_event_string_as_hash, which loses duplicate k/v pairs |
| 57 |
but makes life a little easier |
| 58 |
|
| 59 |
3.004 2023-06-05 21:26:03-04:00 America/New_York |
| 60 |
- optimization to parsing of quoted strings (thanks, Rob Mueller) |
| 61 |
|
| 62 |
3.003 2023-06-05 08:10:52-04:00 America/New_York |
| 63 |
- Log::Fmt will now flog ref-refs, meaning you can easily log JSON as |
| 64 |
log event values |
| 65 |
|
| 66 |
3.002 2022-12-06 09:49:34-05:00 America/New_York |
| 67 |
- restore v5.20 compatibility by turning on "postderef" feature |
| 68 |
explicitly |
| 69 |
|
| 70 |
3.001 2022-12-01 11:55:43-05:00 America/New_York |
| 71 |
- no changes, just stable |
| 72 |
|
| 73 |
3.000 2022-11-03 21:29:21-04:00 America/New_York (TRIAL RELEASE) |
| 74 |
- Log::Dispatchouli now requires v5.20, for pair slices |
| 75 |
- structured event logging with ->log_event -- read the docs, and Log::Fmt |
| 76 |
|
| 77 |
2.023 2021-06-18 21:52:17-04:00 America/New_York |
| 78 |
- update author contact info |
| 79 |
- add perl-support section |
| 80 |
|
| 81 |
2.022 2020-08-24 13:50:15-04:00 America/New_York |
| 82 |
- don't duplicate pid in syslog! |
| 83 |
|
| 84 |
2.021 2020-08-12 11:48:57-04:00 America/New_York |
| 85 |
- add another experimental means to replace how Syslog output is set up |
| 86 |
|
| 87 |
2.020 2020-02-06 13:45:44-05:00 America/New_York (TRIAL RELEASE) |
| 88 |
- add stdio_dispatcher_class, so you can subclass the Screen dispatcher |
| 89 |
for stderr and stdio; this is experimental! |
| 90 |
|
| 91 |
2.019 2019-07-27 16:13:30-04:00 America/New_York |
| 92 |
- fix an initialization ordering bug for loggers using stdio |
| 93 |
|
| 94 |
2.018 2019-07-26 18:36:56-04:00 America/New_York |
| 95 |
- add enable_stdout and enable_stderr to, uh, enable stdout and enable |
| 96 |
stderr (after initial construction) |
| 97 |
|
| 98 |
2.017 2019-03-12 21:10:26-04:00 America/New_York |
| 99 |
- syslog_socket can now be supplied to replace the native socket for |
| 100 |
Sys::Syslog (thanks, Jon Stuart!) |
| 101 |
|
| 102 |
2.016 2018-02-21 12:47:46-05:00 America/New_York |
| 103 |
- the Proxy logger now respects the same overloading as the root logger |
| 104 |
- muted works as a constructor argument (thanks, Dan Book) |
| 105 |
|
| 106 |
2.015 2016-10-17 15:42:54-04:00 America/New_York |
| 107 |
- Log::Dispatchouli subclass can now provide its own proxy_class |
| 108 |
method to use something other than Log::Dispatchouli::Proxy |
| 109 |
|
| 110 |
2.014 2016-10-14 18:28:36-04:00 America/New_York |
| 111 |
- non-trial release of v2.013 |
| 112 |
|
| 113 |
2.013 2016-07-30 16:34:57-04:00 America/New_York (TRIAL RELEASE) |
| 114 |
- minor optimizations to callbacks (thanks, Olivier Mengué) |
| 115 |
|
| 116 |
2.012 2014-11-30 08:49:01-05:00 America/New_York |
| 117 |
avoid a newly-introduced warning on older perls (thanks, Christopher |
| 118 |
J. Madsen) |
| 119 |
|
| 120 |
2.011 2014-11-29 08:50:45-05:00 America/New_York |
| 121 |
some optimizations in timestamp and pid logging (thanks, Olivier |
| 122 |
Mengué) |
| 123 |
|
| 124 |
2.010 2014-07-28 22:24:23-04:00 America/New_York |
| 125 |
add the file_format option (thanks, Randy Stauner) |
| 126 |
|
| 127 |
2.009 2014-01-11 14:14:11-05:00 America/New_York |
| 128 |
load the Proxy class earlier, to get it loaded prefork |
| 129 |
|
| 130 |
2.008 2013-09-26 20:39:11 America/New_York |
| 131 |
fix test for JSON::PP, which doesn't always follow orders about |
| 132 |
spaces! (thanks, Dagfinn Ilmari Mannsåker!) |
| 133 |
|
| 134 |
2.007 2013-09-25 22:12:22 America/New_York |
| 135 |
doc fixes and tests (thanks George Hartzell and Randy Stauner) |
| 136 |
|
| 137 |
2.006 2013-04-05 15:02:05 America/New_York |
| 138 |
put the ->info, ->fatal, ->debug methods on proxies, too |
| 139 |
(thanks George Hartzell) |
| 140 |
|
| 141 |
2.005 2011-04-07 23:16:40 America/New_York |
| 142 |
add log_file and log_path options |
| 143 |
|
| 144 |
2.004 2011-01-21 15:52:41 America/New_York |
| 145 |
BUG FIX: it is okay to replace the default logger, always |
| 146 |
|
| 147 |
2.003 2011-01-21 13:14:43 America/New_York |
| 148 |
add config_id to allow faking Global equality when testing |
| 149 |
|
| 150 |
2.002 2011-01-14 17:51:16 America/New_York |
| 151 |
add env_value and env_prefix methods |
| 152 |
|
| 153 |
2.001 2011-01-13 12:45:05 America/New_York |
| 154 |
greatly expanded tests and documentation for L::D::Global |
| 155 |
|
| 156 |
L::D now has "string_flogger" method to provide an alternate flogger |
| 157 |
|
| 158 |
2.000 2010-11-23 18:48:53 America/New_York |
| 159 |
|
| 160 |
1.102350 2010-08-23 08:55:17 America/New_York |
| 161 |
fix a bug in generating tempdirs for file logging (thanks, Sawyer X) |
| 162 |
|
| 163 |
1.102220 2010-08-10 11:09:30 America/New_York |
| 164 |
added logger muting (mute, unmute, clear_muted, etc.) |
| 165 |
new_tester turns off log_pid by default |
| 166 |
internal simplification of Proxy |
| 167 |
|
| 168 |
1.100712 2010-03-12 21:43:13 America/New_York |
| 169 |
add the quiet_fatal argument to suppress apparent double-logging to |
| 170 |
standard output and error streams |
| 171 |
|
| 172 |
1.100711 2010-03-12 18:11:41 America/New_York |
| 173 |
|
| 174 |
1.100710 2010-03-12 09:51:32 America/New_York |
| 175 |
add the Log::Dispatchouli::Proxy system |
| 176 |
get_prefix now always returns a scalar (undef, not ()) |
| 177 |
|
| 178 |
1.100691 2010-03-10 17:10:53 America/New_York |
| 179 |
just like 1.100690, but passes its own tests! |
| 180 |
|
| 181 |
1.100690 2010-03-10 14:24:59 America/New_York |
| 182 |
remove obsolete "list_name" alias to prefix |
| 183 |
object-level prefix no longer automatically ends in ": " |
| 184 |
|
| 185 |
1.100681 2010-03-09 23:02:11 America/New_York |
| 186 |
rerelease with a tarball that isn't totally insane |
| 187 |
|
| 188 |
1.100680 2010-03-09 22:47:23 America/New_York |
| 189 |
rewrite all log_ methods in terms of ->log |
| 190 |
->log now includes the code formerly in the internal ->_log_at |
| 191 |
add a new per-message prefix system |
| 192 |
old-style prefix (to be removed) now handle multi-line messages |
| 193 |
|
| 194 |
* new prefix system is not yet documented, pending experimentation |
| 195 |
|
| 196 |
1.100670 2010-03-08 19:15:30 America/New_York |
| 197 |
make env vars in code match env vars in docs |
| 198 |
|
| 199 |
1.100660 2010-03-07 22:00:58 America/New_York |
| 200 |
add clear_events method |
| 201 |
loggers made with new_tester log to_self |
| 202 |
|
| 203 |
1.100630 2010-03-04 18:41:13 America/New_York |
| 204 |
some more docs |
| 205 |
switch to Dist::Zilla for dist maintenance |
| 206 |
declare some previously missing prereqs |
| 207 |
|
| 208 |
1.008 2010-02-22 |
| 209 |
->fatal now redispatches to ->log_fatal |
| 210 |
|
| 211 |
1.007 2010-02-22 |
| 212 |
** THIS BREAKS BACKCOMPAT IN A TINY WAY ** |
| 213 |
->debug now means ->log_debug |
| 214 |
->is_debug and ->set_debug replace the old ->debug |
| 215 |
->log_info is replaced by ->info |
| 216 |
|
| 217 |
1.006 2010-02-21 |
| 218 |
add is_debug, is_info, is_fatal |
| 219 |
log_fatal logs as 'error' level |
| 220 |
change the way the undocumented "prefix" system works |
| 221 |
|
| 222 |
1.005 2010-02-12 |
| 223 |
make Makefile.PL prereq match actual required versions |
| 224 |
|
| 225 |
1.004 2010-02-10 |
| 226 |
allow multiple arguments to ->log and friends |
| 227 |
allow user to disable logging of pid |
| 228 |
|
| 229 |
1.003 2009-01-15 |
| 230 |
relax a test that was complaining for no good reason |
| 231 |
|