Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Dancer adapter for Log::Log4perl

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

NAME

Dancer::Logger::Log4perl - Dancer adapter for Log::Log4perl

SYNOPSIS

In your config.yml

logger: log4perl
log4perl:
   config_file: log4perl.conf

In your log4perl.conf

log4perl.rootLogger              = DEBUG, LOG1
log4perl.appender.LOG1           = Log::Log4perl::Appender::File
log4perl.appender.LOG1.filename  = /var/log/mylog.log
log4perl.appender.LOG1.mode      = append
log4perl.appender.LOG1.layout    = Log::Log4perl::Layout::PatternLayout
log4perl.appender.LOG1.layout.ConversionPattern = %d %p %m %n

ALL THE REST

Want to know more? See the module's documentation to figure out all the bells and whistles of this module!

Want to install the latest release? Go fetch it on CPAN.

Want to contribute? Fork it on GitHub.

That's all folks!

Something went wrong with that request. Please try again.