Configuring syslogd in Ubuntu Announcing the arrival of Valued Associate #679: Cesar Manara ...
How to market an anarchic city as a tourism spot to people living in civilized areas?
Biased dice probability question
Replacing HDD with SSD; what about non-APFS/APFS?
What do you call the holes in a flute?
If A makes B more likely then B makes A more likely"
Should you tell Jews they are breaking a commandment?
Two different pronunciation of "понял"
Is it possible to ask for a hotel room without minibar/extra services?
What to do with post with dry rot?
What computer would be fastest for Mathematica Home Edition?
Is above average number of years spent on PhD considered a red flag in future academia or industry positions?
Who can trigger ship-wide alerts in Star Trek?
Did the new image of black hole confirm the general theory of relativity?
Was credit for the black hole image misattributed?
Writing Thesis: Copying from published papers
Strange behaviour of Check
How should I respond to a player wanting to catch a sword between their hands?
If I can make up priors, why can't I make up posteriors?
How can I make names more distinctive without making them longer?
Antler Helmet: Can it work?
How does modal jazz use chord progressions?
I'm having difficulty getting my players to do stuff in a sandbox campaign
How do I keep my slimes from escaping their pens?
How do you clear the ApexPages.getMessages() collection in a test?
Configuring syslogd in Ubuntu
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow to set up a daemon to monitor an error log and trigger email notifications alerts (maybe syslogd?)Does “syslogd” cause “cat /proc/kmsg” not to work properly?Create new syslog file on bootwhy can't we install application compiled for Ubuntu, on Linux mint, or some other distros with same kernel?Help with installing/configuring Samba 2.2.3a on Ubuntu 14.04Run application built on Ubuntu on CentOSsystem log stop loggingConfiguring a dns server and client in UbuntuWhy is there no /var/log/kern.log?Configuring netplan on ubuntu 18 properly
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
In CentOS and many other distros you can configure syslogd
using /etc/syslog.conf
but in Ubuntu there is no such file. Which file I should edit for configuring syslogd
in Ubuntu.
ubuntu syslog
add a comment |
In CentOS and many other distros you can configure syslogd
using /etc/syslog.conf
but in Ubuntu there is no such file. Which file I should edit for configuring syslogd
in Ubuntu.
ubuntu syslog
add a comment |
In CentOS and many other distros you can configure syslogd
using /etc/syslog.conf
but in Ubuntu there is no such file. Which file I should edit for configuring syslogd
in Ubuntu.
ubuntu syslog
In CentOS and many other distros you can configure syslogd
using /etc/syslog.conf
but in Ubuntu there is no such file. Which file I should edit for configuring syslogd
in Ubuntu.
ubuntu syslog
ubuntu syslog
edited May 15 '12 at 23:35
Gilles
548k13011131631
548k13011131631
asked May 15 '12 at 17:49
SamSam
1,35031628
1,35031628
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Syslog configuration in Ubuntu is usually in /etc/rsyslog.d/50-default.conf
This, btw. is the setup i like to use:
auth,authpriv.* /var/log/auth.log
cron.* /var/log/cron.log
mail.=info,mail.=notice -/var/log/mail.info
mail.warning /var/log/mail.err
kern.* -/var/log/kern.log
*.*;mail,kern,cron,auth,authpriv.none -/var/log/syslog
# all warnings except auth into one file
*.warning;auth,authpriv.none /var/log/error.log
# Emergencies are sent to everybody logged in.
*.emerg *
add a comment |
There are syslog alternatives, primarily rsyslog. Lucid (10.04) uses rsyslog, so you'll need to look at /etc/rsyslog.conf
and /etc/rsyslog.d
. I'm not sure what Precise (12.04) uses off-hand.
Here are the relevant man pages:
http://manpages.ubuntu.com/manpages/precise/man8/rsyslogd.8.html
http://manpages.ubuntu.com/manpages/precise/man5/rsyslog.conf.5.html
for my edification, why no mention of syslog-ng? Curious.
– Thufir
Jun 9 '17 at 6:19
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f38719%2fconfiguring-syslogd-in-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Syslog configuration in Ubuntu is usually in /etc/rsyslog.d/50-default.conf
This, btw. is the setup i like to use:
auth,authpriv.* /var/log/auth.log
cron.* /var/log/cron.log
mail.=info,mail.=notice -/var/log/mail.info
mail.warning /var/log/mail.err
kern.* -/var/log/kern.log
*.*;mail,kern,cron,auth,authpriv.none -/var/log/syslog
# all warnings except auth into one file
*.warning;auth,authpriv.none /var/log/error.log
# Emergencies are sent to everybody logged in.
*.emerg *
add a comment |
Syslog configuration in Ubuntu is usually in /etc/rsyslog.d/50-default.conf
This, btw. is the setup i like to use:
auth,authpriv.* /var/log/auth.log
cron.* /var/log/cron.log
mail.=info,mail.=notice -/var/log/mail.info
mail.warning /var/log/mail.err
kern.* -/var/log/kern.log
*.*;mail,kern,cron,auth,authpriv.none -/var/log/syslog
# all warnings except auth into one file
*.warning;auth,authpriv.none /var/log/error.log
# Emergencies are sent to everybody logged in.
*.emerg *
add a comment |
Syslog configuration in Ubuntu is usually in /etc/rsyslog.d/50-default.conf
This, btw. is the setup i like to use:
auth,authpriv.* /var/log/auth.log
cron.* /var/log/cron.log
mail.=info,mail.=notice -/var/log/mail.info
mail.warning /var/log/mail.err
kern.* -/var/log/kern.log
*.*;mail,kern,cron,auth,authpriv.none -/var/log/syslog
# all warnings except auth into one file
*.warning;auth,authpriv.none /var/log/error.log
# Emergencies are sent to everybody logged in.
*.emerg *
Syslog configuration in Ubuntu is usually in /etc/rsyslog.d/50-default.conf
This, btw. is the setup i like to use:
auth,authpriv.* /var/log/auth.log
cron.* /var/log/cron.log
mail.=info,mail.=notice -/var/log/mail.info
mail.warning /var/log/mail.err
kern.* -/var/log/kern.log
*.*;mail,kern,cron,auth,authpriv.none -/var/log/syslog
# all warnings except auth into one file
*.warning;auth,authpriv.none /var/log/error.log
# Emergencies are sent to everybody logged in.
*.emerg *
answered May 16 '12 at 20:12
Fabian ZeindlFabian Zeindl
471414
471414
add a comment |
add a comment |
There are syslog alternatives, primarily rsyslog. Lucid (10.04) uses rsyslog, so you'll need to look at /etc/rsyslog.conf
and /etc/rsyslog.d
. I'm not sure what Precise (12.04) uses off-hand.
Here are the relevant man pages:
http://manpages.ubuntu.com/manpages/precise/man8/rsyslogd.8.html
http://manpages.ubuntu.com/manpages/precise/man5/rsyslog.conf.5.html
for my edification, why no mention of syslog-ng? Curious.
– Thufir
Jun 9 '17 at 6:19
add a comment |
There are syslog alternatives, primarily rsyslog. Lucid (10.04) uses rsyslog, so you'll need to look at /etc/rsyslog.conf
and /etc/rsyslog.d
. I'm not sure what Precise (12.04) uses off-hand.
Here are the relevant man pages:
http://manpages.ubuntu.com/manpages/precise/man8/rsyslogd.8.html
http://manpages.ubuntu.com/manpages/precise/man5/rsyslog.conf.5.html
for my edification, why no mention of syslog-ng? Curious.
– Thufir
Jun 9 '17 at 6:19
add a comment |
There are syslog alternatives, primarily rsyslog. Lucid (10.04) uses rsyslog, so you'll need to look at /etc/rsyslog.conf
and /etc/rsyslog.d
. I'm not sure what Precise (12.04) uses off-hand.
Here are the relevant man pages:
http://manpages.ubuntu.com/manpages/precise/man8/rsyslogd.8.html
http://manpages.ubuntu.com/manpages/precise/man5/rsyslog.conf.5.html
There are syslog alternatives, primarily rsyslog. Lucid (10.04) uses rsyslog, so you'll need to look at /etc/rsyslog.conf
and /etc/rsyslog.d
. I'm not sure what Precise (12.04) uses off-hand.
Here are the relevant man pages:
http://manpages.ubuntu.com/manpages/precise/man8/rsyslogd.8.html
http://manpages.ubuntu.com/manpages/precise/man5/rsyslog.conf.5.html
edited 43 mins ago
muru
37.8k590166
37.8k590166
answered May 15 '12 at 17:59
cjccjc
2,4411310
2,4411310
for my edification, why no mention of syslog-ng? Curious.
– Thufir
Jun 9 '17 at 6:19
add a comment |
for my edification, why no mention of syslog-ng? Curious.
– Thufir
Jun 9 '17 at 6:19
for my edification, why no mention of syslog-ng? Curious.
– Thufir
Jun 9 '17 at 6:19
for my edification, why no mention of syslog-ng? Curious.
– Thufir
Jun 9 '17 at 6:19
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f38719%2fconfiguring-syslogd-in-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown