Logging: verschil tussen versies

Uit Installatie Rocky 9 Webserver
Naar navigatie springen Naar zoeken springen
Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 5: Regel 5:
Edit the file /etc/rsyslog.conf and just after the section starting
Edit the file /etc/rsyslog.conf and just after the section starting


...###############...
{_}###############
#### RULES ####
{_}#### RULES ####
###############
{_}###############


add the following line.
add the following line.

Versie van 22 feb 2024 08:14

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.

*.* ~

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