mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
6f69e140a5
This module lets you defer log processing in two ways: - Defer recording of log messages until some "transaction" has completed - Defer rendering of log messages This module doesn't actually write out logs! To use this module for normal logging purposes you also need a logging library. WWW: http://search.cpan.org/dist/Log-Defer/ PR: 192263 Submitted by: bill.brinzer@gmail.com
23 lines
967 B
Plaintext
23 lines
967 B
Plaintext
I believe a lot of log processing is done too early.
|
|
|
|
This module lets you defer log processing in two ways:
|
|
|
|
* Defer recording of log messages until some "transaction" has completed
|
|
|
|
Typically this transaction is something like an HTTP request or a cron job.
|
|
Generally log messages are easier to read if they are recorded atomically and
|
|
are not intermingled with log messages created by other transactions.
|
|
|
|
* Defer rendering of log messages
|
|
|
|
Sometimes you don't know how logs should be rendered until long after the
|
|
message has been written. If you aren't sure what information you'll want to
|
|
display, or you expect to display the same logs in multiple formats, it makes
|
|
sense to store your logs in a highly structured format so they can be
|
|
reliably parsed and processed later.
|
|
|
|
This module doesn't actually write out logs! To use this module for normal
|
|
logging purposes you also need a logging library.
|
|
|
|
WWW: http://search.cpan.org/dist/Log-Defer/
|