updated notes

This commit is contained in:
Hugh Ratsch
2025-02-20 03:26:15 -06:00
parent 793a23c859
commit f1e94f77d7
+8
View File
@@ -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
```