Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
ade731dd
Commit
ade731dd
authored
8 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
rsyslog clients should log locally as well as centrally
parent
54402088
No related branches found
No related tags found
1 merge request
!107
rsyslog clients should log locally as well as centrally
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/rsyslog_client/templates/rsyslog.conf.j2
+15
-9
15 additions, 9 deletions
roles/rsyslog_client/templates/rsyslog.conf.j2
with
15 additions
and
9 deletions
roles/rsyslog_client/templates/rsyslog.conf.j2
+
15
−
9
View file @
ade731dd
...
...
@@ -45,33 +45,39 @@ $IMJournalStateFile imjournal.state
#### RULES ####
*.* @{{ syslog_server }}:514
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
kern.* /dev/console
& @{{ syslog_server }}:514
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
#*.info;mail.none;authpriv.none;cron.none /var/log/messages
*.info;mail.none;authpriv.none;cron.none /var/log/messages
& @{{ syslog_server }}:514
# The authpriv file has restricted access.
#authpriv.* /var/log/secure
authpriv.* /var/log/secure
& @{{ syslog_server }}:514
# Log all the mail messages in one place.
#mail.* -/var/log/maillog
mail.* -/var/log/maillog
& @{{ syslog_server }}:514
# Log cron stuff
#cron.* /var/log/cron
cron.* /var/log/cron
& @{{ syslog_server }}:514
# Everybody gets emergency messages
#
*.emerg :omusrmsg:*
*.emerg :omusrmsg:*
# Save news errors of level crit and higher in a special file.
#uucp,news.crit /var/log/spooler
uucp,news.crit /var/log/spooler
& @{{ syslog_server }}:514
# Save boot messages also to boot.log
#local7.* /var/log/boot.log
local7.* /var/log/boot.log
& @{{ syslog_server }}:514
# ### begin forwarding rule ###
...
...
This diff is collapsed.
Click to expand it.
Chris Hines
@chines
mentioned in commit
ef4d3aa9
·
4 years ago
mentioned in commit
ef4d3aa9
mentioned in commit ef4d3aa9ba846dd56a92d2fa1dc247b63cbc69de
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment