Skip to content

Commit

Permalink
Item13065: Use old style log calls
Browse files Browse the repository at this point in the history
Need to be backwards compatible with Foswiki 1.1
  • Loading branch information
gac410 committed Feb 23, 2015
1 parent 9ee53fe commit e00380f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions JsonRpcContrib/lib/Foswiki/Contrib/JsonRpcContrib/Server.pm
Expand Up @@ -153,13 +153,10 @@ sub dispatch {
}
}

$session->logger->log(
{
level => 'info',
action => 'jsonrpc',
webTopic => $session->{webName} . '.' . $session->{topicName},
extra => $request->namespace() . ' ' . $request->method(),
}
$session->logEvent(
'jsonrpc',
$session->{webName} . '.' . $session->{topicName},
$request->namespace() . ' ' . $request->method()
);

# call
Expand Down

0 comments on commit e00380f

Please sign in to comment.