Configuring syslogd in Ubuntu Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 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

Can anything be seen from the center of the Boötes void? How dark would it be?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

Using audio cues to encourage good posture

What initially awakened the Balrog?

Putting class ranking in CV, but against dept guidelines

Project Euler #1 in C++

Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode

QGIS virtual layer functionality does not seem to support memory layers

Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?

If Windows 7 doesn't support WSL, then what does Linux subsystem option mean?

Search between two dates with specific time with each date

What was the first language to use conditional keywords?

How to compare two different files line by line in unix?

Is there hard evidence that the grant peer review system performs significantly better than random?

Would it be possible to dictate a bech32 address as a list of English words?

Why weren't discrete x86 CPUs ever used in game hardware?

How much damage would a cupful of neutron star matter do to the Earth?

How to run automated tests after each commit?

Why are vacuum tubes still used in amateur radios?

How were pictures turned from film to a big picture in a picture frame before digital scanning?

An adverb for when you're not exaggerating

Co-worker has annoying ringtone

Who can remove European Commissioners?

Do I really need to have a message in a novel to appeal to readers?



Configuring syslogd in Ubuntu



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 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;








13















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.










share|improve this question






























    13















    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.










    share|improve this question


























      13












      13








      13


      1






      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.










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 15 '12 at 23:35









      Gilles

      548k13011161631




      548k13011161631










      asked May 15 '12 at 17:49









      SamSam

      1,35531628




      1,35531628




















          2 Answers
          2






          active

          oldest

          votes


















          12














          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 *





          share|improve this answer






























            8














            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






            share|improve this answer

























            • for my edification, why no mention of syslog-ng? Curious.

              – Thufir
              Jun 9 '17 at 6:19











            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
            );



            );













            draft saved

            draft discarded


















            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









            12














            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 *





            share|improve this answer



























              12














              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 *





              share|improve this answer

























                12












                12








                12







                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 *





                share|improve this answer













                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 *






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 16 '12 at 20:12









                Fabian ZeindlFabian Zeindl

                481414




                481414























                    8














                    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






                    share|improve this answer

























                    • for my edification, why no mention of syslog-ng? Curious.

                      – Thufir
                      Jun 9 '17 at 6:19















                    8














                    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






                    share|improve this answer

























                    • for my edification, why no mention of syslog-ng? Curious.

                      – Thufir
                      Jun 9 '17 at 6:19













                    8












                    8








                    8







                    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






                    share|improve this answer















                    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







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Apr 15 at 1:22









                    muru

                    38k590166




                    38k590166










                    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

















                    • 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

















                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Helsingborg Esperantistoj el Helsingborg | Vidu ankaŭ | Navigada menuo1 ŝanĝostabila versiopatrolita1 ŝanĝostabila versiopatrolita56°03′N 12°42′O  /  56.05°N, 12.7°O / 56.05; 12.7 (Helsingborg)56°03′N 12°42′O  /  56.05°N, 12.7°O / 56.05; 12.7 (Helsingborg)Helsingborg en la Vikimedia KomunejoKategorio Helsingborg en la Vikimedia KomunejoHelsingborg en la Vikimedia KomunejoKategorio Helsingborg en la Vikimedia Komunejo

                    Linux Checkpoint SNX tool configuration issuesgetting Checkpoint VPN SSL Network Extender working in the command lineL2TP IPsec VPN client configurationOpenvpn stops respondingIssues with getting a tun0 connection to route any and all connections from eth0 to be made to this interface and if not working dropHow to setup port forwarding properly in FreeBsd 11?Getting certificate verify failed error in a Python applicationssh is unable to connect to server in VPNVPN SSL Network Extender in Firefoxgetting Checkpoint VPN SSL Network Extender working in the command lineisc-dhcp-server configurationUsing Checkpoint VPN SSL Network Extender CLI with certificate

                    NetworkManager fails with “Could not find source connection”Trouble connecting to VPN using network-manager, while command line worksHow can I be notified about state changes to a VPN adapterBacktrack 5 R3 - Refuses to connect to VPNFeed all traffic through OpenVPN for a specific network namespace onlyRun daemon on startup in Debian once openvpn connection establishedpfsense tcp connection between openvpn and lan is brokenInternet connection problem with web browsers onlyWhy does NetworkManager explicitly support tun/tap devices?Browser issues with VPNTwo IP addresses assigned to the same network card - OpenVPN issues?Cannot connect to WiFi with nmcli, although secrets are provided