Logging: verschil tussen versies

Uit Installatie Rocky 9 Webserver
Naar navigatie springen Naar zoeken springen
(Nieuwe pagina aangemaakt met 'Logging uitschakelen If you are not interested in the logs you can switch a lot off using a log configuration setting. Edit the file /etc/rsyslog.conf and just after the section starting ############### #### RULES #### ############### add the following line. <code>*.* ~</code> If you want to be more fine-grained you will need to read the file comments. Do not forget to restart rsyslog daemon: <code>sudo service rsyslog restart</code>')
 
Geen bewerkingssamenvatting
Regel 11: Regel 11:
add the following line.
add the following line.


<code>*.*    ~</code>
<code>_*.*    ~</code>


If you want to be more fine-grained you will need to read the file comments.
If you want to be more fine-grained you will need to read the file comments.

Versie van 22 feb 2024 08:13

Logging uitschakelen

If you are not interested in the logs you can switch a lot off using a log configuration setting.

Edit the file /etc/rsyslog.conf and just after the section starting

        1. RULES ####

add the following line.

_*.* ~

If you want to be more fine-grained you will need to read the file comments.

Do not forget to restart rsyslog daemon:

sudo service rsyslog restart