Update & Review modules/ROOT/pages/anaconda/anaconda_logging.adoc

issue #217 
Reviewed and made correction where : " $ eval " was not getting the red highlight as part of the shell command in configuration example
This commit is contained in:
yohaan vakil 2020-04-19 18:44:30 +00:00 committed by pbokoc
parent 20dcd9a7c7
commit 7fa8c81973

View file

@ -1,7 +1,5 @@
= Anaconda Logging = Anaconda Logging
include::{partialsdir}/unreviewed-message.adoc[]
== Introduction == Introduction
Anaconda tracks all of its activities in logs. Anaconda tracks all of its activities in logs.
This includes: This includes:
@ -103,7 +101,7 @@ It's up to you how the remote logging daemon is configured, you can for instance
The anaconda RPM provides the `analog` script, which generates a suitable rsyslogd configuration file based on a couple of install parameters. The anaconda RPM provides the `analog` script, which generates a suitable rsyslogd configuration file based on a couple of install parameters.
It is also able to generate a bash command to launch rsyslogd with the generated configuration. It is also able to generate a bash command to launch rsyslogd with the generated configuration.
Thus you can do from a shell: Thus you can do from a shell:
$ eval `scripts/analog -p 6080 -s -o ./someconf /home/akozumpl/remote_inst` `$ eval scripts/analog -p 6080 -s -o ./someconf /home/akozumpl/remote_inst`
This starts an rsyslog daemon that will listen on port 6080. This starts an rsyslog daemon that will listen on port 6080.
The logs from the remote machine with IP 10.34.33.221 will be stored under `/home/akozumpl/remote_inst/10.34.33.221/`, e.g. `/home/akozumpl/remote_inst/10.34.33.221/anaconda.log`. The logs from the remote machine with IP 10.34.33.221 will be stored under `/home/akozumpl/remote_inst/10.34.33.221/`, e.g. `/home/akozumpl/remote_inst/10.34.33.221/anaconda.log`.