cd6430827a
Apache's error log is not very clean: The log messages are mixed with other web applications' noise; and especially if you use mod_fastcgi, every line will be prepended with a long prefix. An alternative is logging to a file. But then you have to make sure that multiple processes won't corrupt the log file. The module Log::Handler by Jonny Schulz does exactly this, because it supports message-wise flocking. This module is a wrapper for said Log::Handler.
30 lines
791 B
Makefile
30 lines
791 B
Makefile
# Ports collection makefile for: p5-Catalyst-Log-Handler
|
|
# Date created: October 27, 2011
|
|
# Whom: Philip M. Gollucci <pgollucci@p6m7g8.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Catalyst-Plugin-Log-Handler
|
|
PORTVERSION= 0.08
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Catalyst log handler
|
|
|
|
BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
|
|
p5-Log-Handler>=0:${PORTSDIR}/devel/p5-Log-Handler \
|
|
p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat
|
|
|
|
PERL_MODBUILD= yes
|
|
|
|
MAN3= Catalyst::Plugin::Log::Handler.3
|
|
|
|
PLIST_FILES= %%SITE_PERL%%/Catalyst/Plugin/Log/Handler.pm
|
|
PLIST_DIRS= %%SITE_PERL%%/Catalyst/Plugin/Log \
|
|
%%SITE_PERL%%/Catalyst/Plugin \
|
|
%%SITE_PERL%%/Catalyst
|
|
|
|
.include <bsd.port.mk>
|