diff --git a/lib/AccountManager/WebRequest.pm b/lib/AccountManager/WebRequest.pm index a4ada762e147b5a92785da28e2133ee81af8946d..8df7ac3884eb9af521fcc11b443689e8f443c4d0 100644 --- a/lib/AccountManager/WebRequest.pm +++ b/lib/AccountManager/WebRequest.pm @@ -120,6 +120,7 @@ sub run { # process requested action my $action = $parameters{action} || 'home'; if ($actions{$action}) { + $self->{logger}->debug("Processing action '$action'"); my $method = $actions{$action}; $self->$method(); } else { @@ -155,7 +156,7 @@ sub respond { INCLUDE_PATH => $self->{configuration}->{_}->{templates_dir} . "/web/$lang" }); - my $template; + $self->{logger}->debug("Responding with outer template '$in{template}' and inner template '$in{data}->{content}'"); binmode(STDOUT, ":utf8");