BSD Ports

devel/p5-Log-Defer 0.312 FreeBSD

Deferred logs and timers

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
12.6 KiB, 21.2 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Log-Defer0.312
DragonFlydevel/p5-Log-Defer0.312

Install

Binary package:

pkg install p5-Log-Defer

From the ports tree:

cd /usr/ports/devel/p5-Log-Defer/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Log-Defer>0:devel/p5-Log-Defer

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3120.3120.3120.3120.312
FreeBSD:14:quarterly0.3120.312n/a0.3120.312
FreeBSD:15:latest0.3120.312n/a0.3120.312
FreeBSD:15:quarterly0.3120.312n/an/an/a
FreeBSD:16:latest0.3120.312n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Log::Defer.3.gz
  • %%SITE_PERL%%/Log/Defer.pm
distinfo 1
FileSizeSHA256
Log-Defer-0.312.tar.gz1009639f8c66070ca6d40b0b5aa8bdefca414fcd962bbc6f9869c84ab3d3068b0ec84
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.