mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: edit logs messages
This commit is contained in:
@@ -44,9 +44,9 @@ class DomainRefreshController extends AbstractController
|
||||
$idnDomain = RDAPService::convertToIdn($ldhName);
|
||||
$userId = $this->getUser()->getUserIdentifier();
|
||||
|
||||
$this->logger->info('User {username} wants to update the domain name {idnDomain}.', [
|
||||
$this->logger->info('User wants to update a domain name', [
|
||||
'username' => $userId,
|
||||
'idnDomain' => $idnDomain,
|
||||
'ldhName' => $idnDomain,
|
||||
]);
|
||||
|
||||
/** @var ?Domain $domain */
|
||||
@@ -58,8 +58,8 @@ class DomainRefreshController extends AbstractController
|
||||
&& !$this->kernel->isDebug()
|
||||
&& true !== filter_var($request->get('forced', false), FILTER_VALIDATE_BOOLEAN)
|
||||
) {
|
||||
$this->logger->info('It is not necessary to update the information of the domain name {idnDomain} with the RDAP protocol.', [
|
||||
'idnDomain' => $idnDomain,
|
||||
$this->logger->info('It is not necessary to update the domain name', [
|
||||
'ldhName' => $idnDomain,
|
||||
]);
|
||||
|
||||
return $domain;
|
||||
|
||||
@@ -88,7 +88,7 @@ class RegistrationController extends AbstractController
|
||||
);
|
||||
|
||||
$signedUrl = (string) $email->getContext()['signedUrl'];
|
||||
$this->logger->notice('The validation link for user {username} is {signedUrl}', [
|
||||
$this->logger->notice('The validation link for this user is generated', [
|
||||
'username' => $user->getUserIdentifier(),
|
||||
'signedUrl' => $signedUrl,
|
||||
]);
|
||||
@@ -97,7 +97,7 @@ class RegistrationController extends AbstractController
|
||||
$this->em->persist($user);
|
||||
$this->em->flush();
|
||||
|
||||
$this->logger->info('A new user has registered ({username}).', [
|
||||
$this->logger->info('New user has registered', [
|
||||
'username' => $user->getUserIdentifier(),
|
||||
]);
|
||||
|
||||
@@ -121,7 +121,7 @@ class RegistrationController extends AbstractController
|
||||
|
||||
$this->emailVerifier->handleEmailConfirmation($request, $user);
|
||||
|
||||
$this->logger->info('User {username} has validated his email address.', [
|
||||
$this->logger->info('User has validated his email address', [
|
||||
'username' => $user->getUserIdentifier(),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user