Skip to main content

2018 - Implementation of Log4PHP Logger

What is a Logger?

A logger is a feature that allows application messages to be written according to a level of criticality in one or more output streams. Usually the logger is set to write to a file on disk.

It may also be interesting to send an email in the event of a Fatal error on your Web application or to save the logs in the database.

Log4php

We are going to set up Apache's log4php: https://logging.apache.org/log4php/< /p>

The current latest version is 2.3.0.

Attention : this tool is no longer maintained since 2020.

About

I am a professional passionated about web technologies.