Skip to content

christopherraa/mojolicious-plugin-accesslog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

¡ Important !

This is a fork of augensalat/mojolicious-plugin-accesslog mainly to address the lack of logging placeholder for outermost client in an X-Forwarded-For-chain. Will try to keep this updated with changes from its origin. Will try to figure out the most sensible way of packaging this so it becomes available as a cpan-dist, but I will not upload to cpan since I don't want to interfere with the original module.

Mojolicious::Plugin::AccessLog Build Status

You might have wondered why Hypnotoad, the Mojolicious application server, does not have an accesslog option. The reason might be, that it is designed to work behing a "real" web server like nginx. In case YMMV, Mojolicious::Plugin::AccessLog is for you.

Features

Installation

Stable releases are available from the CPAN.

You can use cpanm to install from the command line:

$ cpanm Mojolicious::Plugin::AccessLog

Usage

use Mojolicious::Lite;

plugin AccessLog => log => '/var/tmp/myapp-access.log', format => 'combined';

get '/' => {text => 'I ♥ Mojolicious::Plugin::AccessLog!'};

app->start;

More Information

Please look at the manpage.

About

Easily generate access logs for Mojolicious applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%