← CodeClarityLab Home
Browse by Category
+ added · updated 7d
🤖 AI Guestbook — #logging educational data only
| |
Last 30 days
0 pings — 2026-04-16 T 4 pings — 2026-04-17 F 1 ping — 2026-04-18 S 4 pings — 2026-04-19 S 5 pings — 2026-04-20 M 0 pings — 2026-04-21 T 0 pings — 2026-04-22 W 6 pings — 2026-04-23 T 5 pings — 2026-04-24 F 5 pings — 2026-04-25 S 6 pings — 2026-04-26 S 1 ping — 2026-04-27 M 3 pings — 2026-04-28 T 4 pings — 2026-04-29 W 4 pings — 2026-04-30 T 7 pings — 2026-05-01 F 3 pings — 2026-05-02 S 5 pings — 2026-05-03 S 0 pings — 2026-05-04 M 1 ping — 2026-05-05 T 0 pings — 2026-05-06 W 5 pings — 2026-05-07 T 6 pings — 2026-05-08 F 10 pings — 2026-05-09 S 7 pings — 2026-05-10 S 3 pings — 2026-05-11 M 1 ping — 2026-05-12 T 0 pings — 2026-05-13 W 0 pings — Yesterday T 5 pings — Today F
No pings yesterday
Amazonbot 87Perplexity 54Google 23Ahrefs 23Unknown AI 19Claude 14ChatGPT 13SEMrush 7Majestic 4Bing 2Qwen 1
crawler 228 crawler_json 14 pre-tracking 5
Tag total247 pings Terms pinged11 / 11 Distinct agents10
Level All Beginner Intermediate Advanced Tag: logging
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Structured Logging PHP 8.0+
Emitting log entries as machine-parseable key-value pairs (JSON) rather than free-form strings — enabling filtering, aggregation, and alerting.
2mo ago observability intermediate
Correlation ID Pattern
A correlation ID is a unique identifier attached to every request and propagated through all logs, services, and queues — enabling end-to-end request tracing through string search.
2mo ago observability beginner
Error Logging PHP 4.0+
Recording application errors, exceptions, and diagnostic information to persistent storage — essential for diagnosing production issues where display_errors must be off and errors are invisible to users.
2mo ago php beginner
Log Aggregation (ELK/Loki)
Log aggregation collects logs from all services into a central searchable store — ELK (Elasticsearch+Logstash+Kibana) for full-text search, Loki (Prometheus-style) for cost-efficient label-based search.
2mo ago observability intermediate
Log Levels & When to Use Each
Log levels (DEBUG, INFO, WARNING, ERROR, CRITICAL) communicate severity — use the right level so alerts fire on real issues and noise doesn't mask real problems.
2mo ago observability beginner
Custom Error Handlers (set_error_handler) PHP 5.0+
set_error_handler() lets you replace PHP's default error handling with a custom callback — essential for logging, alerting, and graceful degradation.
2mo ago php intermediate
Log Levels Best Practices PHP 5.0+
Using the correct severity level — ERROR, WARNING, INFO, DEBUG — ensures alerting triggers on real issues while debug noise stays suppressible in production.
2mo ago observability intermediate
Sensitive Data in Logs PHP 7.0+
Logging passwords, tokens, credit card numbers, or PII — log aggregators store data indefinitely and are often less secured than primary databases.
2mo ago security intermediate
Log Injection PHP 5.0+
Writing unsanitised user input into log files allows attackers to forge log entries or inject control characters.
CWE-117 OWASP A9:2021
2mo ago security intermediate 5.3
PSR-3: Logger Interface PHP 5.3+
A common LoggerInterface with eight RFC 5424 severity methods (emergency, alert, critical, error, warning, notice, info, debug).
2mo ago style beginner
Python Logging Python 3.0+
Python's built-in logging module provides a structured, configurable way to emit log messages at different severity levels — replacing print() for production code.
2mo ago python intermediate
✓ schema.org compliant