Skip to content

Latest commit

 

History

History
229 lines (139 loc) · 8.67 KB

ChangeLog.md

File metadata and controls

229 lines (139 loc) · 8.67 KB

ChangeLog

0.11.0 (2024-03-01)

Changed

Macro log4cl-extras/error:with-log-unhandled now handles SERIOUS-CONDITION instead of ERROR. This is important, because ERROR is not a only subclass of the SERIOUS-CONDITION, for example, SB-EXT:TIMEOUT is inherited directly from SERIOUS-CONDITION and old version of the macro was not able to log such errors.

0.10.0 (2023-11-19)

New

Variable log4cl-extras/appenders:*debug-on-error* was added and can be used to debug issues happening when handling log messages. When this option is NIL, appenders defined in log4cl-extras will only output "Unable to log the message" message in case of errors during the message output.

Fixes

  • Package log4cl-extras now is created when library is loaded. This should fix a warning from ASDF about missing package.

0.9.0 (2022-12-30)

Function log4cl-extras/error:print-backtrace now prints conditions with type like:

Condition REBLOCKS-WEBSOCKET:NO-ACTIVE-WEBSOCKETS: No active websockets bound to the current page.

instead of:

Condition: No active websockets bound to the current page.

0.8.0 (2022-11-04)

0.7.2 (2022-10-03)

  • Backtrace printer was fixed to work on ClozureCL.

0.7.1 (2022-08-06)

  • Now log4cl-extras/secrets:make-secrets-replacer is able to mask secret values even in strings nested in the lists. This fixes issue of leaking Authorization tokens when some HTTP error is logged. Previously, backtrace was logged like this:
1 File "/Users/art/projects/lisp/cloud-analyzer/.qlot/dists/ultralisp/software/fukamachi-dexador-20220619102143/src/backend/usocket.lisp", line 451
    In DEXADOR.BACKEND.USOCKET:REQUEST
  Args (#<unavailable argument> :METHOD :GET :HEADERS (("Authorization" . "OAuth AQAEA5qgMKaqAAffdZ0Nw7BqTkCTlp6ii80Gdmo")))

and oauth token leaked to the log storage. After this fix, backtrace will be logged like this:

1 File "/Users/art/projects/lisp/cloud-analyzer/.qlot/dists/ultralisp/software/fukamachi-dexador-20220619102143/src/backend/usocket.lisp", line 451
    In DEXADOR.BACKEND.USOCKET:REQUEST
  Args (#<unavailable argument> :METHOD :GET :HEADERS (("Authorization" . "OAuth #<secret value>")))

0.7.0 (2022-07-03)

0.6.0 (2021-10-03)

  • Now :PLAIN and :JSON logger will output logger's category, filename and a callable name.

0.5.1 (2021-03-02)

  • Fixed fail during logging error with (setf some-func) in the backtrace.

0.5.0 (2021-01-24)

  • Function TRACEBACK-TO-STRING was removed and replaced with log4cl-extras/error:print-backtrace which is now a part of public API.
  • Added ability to filter secret and sensitive values. Read documentation, to lear more.

0.4.2 (2020-11-26)

Fixed

  • Fixed with-log-unhandled for cases when some function argument's print-object signaled the error.

Because of this nasty error, sometimes with-log-unhandled didn't log "Unandled error".

Added

This argument can be overriden by setting log4cl-extras/error:*max-traceback-depth*.

  • Also another variable log4cl-extras/error:*max-call-length* can be set to control how long function or method name can be. By default it is 100, but methods are logged along with their specialized arguments and can be longer.

0.4.1 (2019-03-05)

Fixed

  • Added missing dependency from CL-STRINGS system.

0.4.0 (2019-03-04)

Improved

Now log4cl-extras/config:setup sets appender into a mode when it prints log in a human readable way if it its called from the SLY's REPL. All logger fields are printed as well, including a traceback.

0.3.0 (2019-01-07)

Improved

  • Now condition's description is added to the end of the backtrace.

0.2.2 (2018-12-08)

Fixed

  • Fixed system's loading in environments with C locale.

This closes issue reported along with pull request #1.

0.2.1 (2018-11-24)

Fixed

lisp (log4cl-json/error:with-log-unhandled () (signal "foo"))

Now this bad behavior was fixed and only errors are logged.

0.2.0 (2017-08-29)

New

0.1.0 (2017-01-23)

  • Initial version.

[generated by 40ANTS-DOC]