Source: medium.com

Logs with syslog-ng
The end of this post, you should be able to perform the following tasks and understand the basic concept of logging: Logs are equals kind of agent in Linux that tells what is happening on the system. Regardless of whether you are Sysadmin, DevOps engineer, or Developer the Logs are a powerful instrument to inspect and understand the occurred problem which made daily life quite easier. In Linux, the Logs are typically located under /var/log directory.

For the centralization of logs , the syslog-ng is one of the powerful instruments for Sysadmins and DevOps engineers.

May you want to keep syslog-ng.conf file alive and get additional logs, then simply write your custom foo.conf file and put under /etc/syslog-ng/conf.d in this way syslog-ng.conf file will include all files with .conf extentison under conf.d directory.

Related Articles