Which flag is added to the SYSLOG configuration file for remote logging?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The option highlighting the use of the -r flag in the SYSLOG configuration file for remote logging is correct because this flag specifically enables the system logging daemon (syslogd) to accept log messages from remote machines. By adding this flag, you instruct the syslog service to listen for incoming logs over the network, allowing for centralized logging where logs from various hosts can be collected and managed from a single location.

This is particularly useful in enterprise environments where multiple servers may generate log entries that need to be monitored and analyzed centrally. Without this flag, the syslog service would only handle local logs, missing important entries from remote systems.

In contrast, the other flags mentioned do not serve this purpose. -a is not related to remote logging capabilities, -l is typically for local log facility messages, and -p is generally associated with setting the priority of log messages. Therefore, the use of the -r flag is essential for enabling remote logging in the SYSLOG configuration.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy