Score:0

treatments of /var/log/messages with rsyslog

in flag

I having problems with my /var/log/messages file. Indeed, I collect logs from different network switches on my server and their logs go in a special file + the messages file. I would like the switch logs to go only to the specific file and not to the /var/log/messages file. Do you know how to please? I am on RedHat 7.

Here is my configuration on /etc/rsyslog.d/test.conf

$template syslog,"/var/log/clients/%fromhost%.log"
*.* ?syslog

Thanks you for your help

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.