I don't think you can customize the format of the logs, plus I use some of 
the Log4perl dispatchers to log to a database.

On Wednesday, April 23, 2014 9:00:18 AM UTC-4, Tekki wrote:
>
> Why don't you use Mojo::Log?
>
> In startup:
>
>   my $log1 = Mojo::Log->new(path => $path1);
>   my $log2 = Mojo::Log->new(path => $path2);
>   $self->helper(log1 => sub {return $log1});
>   $self->helper(log2 => sub {return $log2});
>
> And in the controller:
>
>   $self->log1->info('I am in log 1');
>   $self->log2->info('I am in log 2');
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to