From f1e94f77d7af7d73a8f22af8b4e8f214bf5ed79c Mon Sep 17 00:00:00 2001 From: Hugh Ratsch Date: Thu, 20 Feb 2025 03:26:15 -0600 Subject: [PATCH] updated notes --- src/rhcsa.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/rhcsa.md b/src/rhcsa.md index ac8f4d4..71317c8 100644 --- a/src/rhcsa.md +++ b/src/rhcsa.md @@ -831,3 +831,11 @@ sudo systemctl status rsyslog # Display the status of the rsyslog service sudo nano /etc/logrotate.conf # Edit the logrotate configuration file\ ``` +### logger +```bash +logger "This is a test message" # Log a message + +logger -p local0.info "This is a test message" # Log a message to the local0.info facility + +sudo tail /var/log/messages # Display the messages +```