local0local7
Local0 through Local7 are facilities in the syslog protocol used for local, application-defined logging. They are part of the standard set of facilities that categorize log messages, allowing administrators to route and manage logs from diverse applications without colliding with system or standard service categories. Local0 to Local7 provide eight distinct channels for messages generated by local processes or custom subsystems.
In the facility field of a syslog message, Local0 maps to a numeric code (Local0 = 16) and
Usage examples include directing a web application’s logs to a dedicated file or remote destination via local0,
Configuration typically involves assigning a facility to messages produced by a given application and then creating