Skip to content

Commit

Permalink
no more User-Agent header in log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 10, 2013
1 parent 5987e78 commit 5ef8683
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Mojolicious.pm
Expand Up @@ -124,8 +124,7 @@ sub dispatch {
my $req = $c->req;
my $method = $req->method;
my $path = $req->url->path->to_abs_string;
my $ua = $req->headers->user_agent || 'Anonymojo';
$self->log->debug("$method $path ($ua).");
$self->log->debug(qq{$method "$path".});
$stash->{'mojo.started'} = [gettimeofday];
}

Expand Down

0 comments on commit 5ef8683

Please sign in to comment.