Use a dedicated logger channel in PuzzleController (uses "php")

Created on 29 November 2024, 3 months ago

Problem/Motivation

Currently https://git.drupalcode.org/project/friendlycaptcha/-/blob/1.x/src/Contro...
uses the "php" logger channel, which leads to log entries categorized as "php" instead of the module name, which isn't a good and self-explaining context

Steps to reproduce

Use the local friendlycaptcha implementation and check logs
Find entries like this, categorized as "php", where "friendlycaptcha" or "friendlycaptcha_local_endpoint" would be more transparent and self-explaining.

Typ 	php
Datum 	Freitag, 29. November 2024 - 12:29
Benutzer 	Gast (nicht ΓΌberprΓΌft)
Ort 	https://www.example.de/api/v1/puzzle?sitekey=ENTER%20VALID%20SITE%20KEY%20HERE
Referrer 	https://www.example.de/user/register
Benachrichtigung 	This is request 23 from IP xxx in the last 30 minutes (or longer, if there were subsequent requests)
Schweregrad 	Info
Hostname 	xxx

Proposed resolution

Remaining tasks

Implement
Test
Release

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024