@@ -363,7 +363,8 @@ class HoneypotService implements HoneypotServiceInterface {
'%form'=>$form_id,
'@cause'=>($type=='honeypot')?$this->t('submission of a value in the honeypot field'):$this->t('submission of the form in less than minimum required time'),
];
$this->logger->notice('Blocked submission of %form due to @cause.',$variables);
$this->loggerFactory->get('honeypot')
->notice('Blocked submission of %form due to @cause.',$variables);