How to view LOG_DAEMON logs - Setup

This is a discussion on How to view LOG_DAEMON logs - Setup ; I have recently setup MyDNS and I set its logging facility to LOG_DAEMON. When a program is set up to use LOG_DAEMON which file do the logs go to and how can they be checked?...

+ Reply to Thread
Results 1 to 9 of 9

Thread: How to view LOG_DAEMON logs

  1. How to view LOG_DAEMON logs


    I have recently setup MyDNS and I set its logging facility to
    LOG_DAEMON.

    When a program is set up to use LOG_DAEMON which file do the logs go to
    and how can they be checked?


  2. Re: How to view LOG_DAEMON logs

    "voipfc" writes:


    >I have recently setup MyDNS and I set its logging facility to
    >LOG_DAEMON.


    >When a program is set up to use LOG_DAEMON which file do the logs go to
    >and how can they be checked?


    That is up to you. /etc/syslog.conf
    On my system it is
    daemon.* /var/log/daemonlog
    but you can do what you want.



  3. Re: How to view LOG_DAEMON logs


    Unruh wrote:
    > "voipfc" writes:
    >
    >
    > >I have recently setup MyDNS and I set its logging facility to
    > >LOG_DAEMON.

    >
    > >When a program is set up to use LOG_DAEMON which file do the logs go to
    > >and how can they be checked?

    >
    > That is up to you. /etc/syslog.conf
    > On my system it is
    > daemon.* /var/log/daemonlog
    > but you can do what you want.


    How is the daemon log started? Is it built in to Linux or does it
    require some programs to be installed?

    There was not daemon.* entry in my /etc/syslog.conf file


  4. Re: How to view LOG_DAEMON logs

    On Mon, 27 Nov 2006 06:02:56 -0800, voipfc wrote:

    >
    > Unruh wrote:
    >> "voipfc" writes:
    >>
    >>
    >> >I have recently setup MyDNS and I set its logging facility to
    >> >LOG_DAEMON.

    >>
    >> >When a program is set up to use LOG_DAEMON which file do the logs go to
    >> >and how can they be checked?

    >>
    >> That is up to you. /etc/syslog.conf
    >> On my system it is
    >> daemon.* /var/log/daemonlog
    >> but you can do what you want.

    >
    > How is the daemon log started? Is it built in to Linux or does it
    > require some programs to be installed?
    >
    > There was not daemon.* entry in my /etc/syslog.conf file


    sysklogd

    --
    Dancin' in the ruins tonight
    Tayo'y Mga Pinoy



  5. Re: How to view LOG_DAEMON logs

    "voipfc" writes:


    >Unruh wrote:
    >> "voipfc" writes:
    >>
    >>
    >> >I have recently setup MyDNS and I set its logging facility to
    >> >LOG_DAEMON.

    >>
    >> >When a program is set up to use LOG_DAEMON which file do the logs go to
    >> >and how can they be checked?

    >>
    >> That is up to you. /etc/syslog.conf
    >> On my system it is
    >> daemon.* /var/log/daemonlog
    >> but you can do what you want.


    >How is the daemon log started? Is it built in to Linux or does it
    >require some programs to be installed?


    I told you.
    Put that line into /etc/syslog.conf
    If you want it to work right away, also do
    killall -1 syslogd
    Make sure you do not forget the -1


    >There was not daemon.* entry in my /etc/syslog.conf file


    Put it in.
    Note that you can use any file you want instead of daemonlog if you want.
    And some distros put every priority into a separate file.
    I find that totally useless.



  6. Re: How to view LOG_DAEMON logs

    Baho Utot writes:

    >On Mon, 27 Nov 2006 06:02:56 -0800, voipfc wrote:


    >>
    >> Unruh wrote:
    >>> "voipfc" writes:
    >>>
    >>>
    >>> >I have recently setup MyDNS and I set its logging facility to
    >>> >LOG_DAEMON.
    >>>
    >>> >When a program is set up to use LOG_DAEMON which file do the logs go to
    >>> >and how can they be checked?
    >>>
    >>> That is up to you. /etc/syslog.conf
    >>> On my system it is
    >>> daemon.* /var/log/daemonlog
    >>> but you can do what you want.

    >>
    >> How is the daemon log started? Is it built in to Linux or does it
    >> require some programs to be installed?
    >>
    >> There was not daemon.* entry in my /etc/syslog.conf file


    >sysklogd



    No, syslogd, which all distros start up on bootup.



  7. Re: How to view LOG_DAEMON logs

    On Tue, 28 Nov 2006 01:19:58 +0000, Unruh wrote:

    > Baho Utot writes:
    >
    >>On Mon, 27 Nov 2006 06:02:56 -0800, voipfc wrote:

    >
    >>>
    >>> Unruh wrote:
    >>>> "voipfc" writes:
    >>>>
    >>>>
    >>>> >I have recently setup MyDNS and I set its logging facility to
    >>>> >LOG_DAEMON.
    >>>>
    >>>> >When a program is set up to use LOG_DAEMON which file do the logs go to
    >>>> >and how can they be checked?
    >>>>
    >>>> That is up to you. /etc/syslog.conf
    >>>> On my system it is
    >>>> daemon.* /var/log/daemonlog
    >>>> but you can do what you want.
    >>>
    >>> How is the daemon log started? Is it built in to Linux or does it
    >>> require some programs to be installed?
    >>>
    >>> There was not daemon.* entry in my /etc/syslog.conf file

    >
    >>sysklogd

    >
    >
    > No, syslogd, which all distros start up on bootup.


    Same package, the source for sysklogd contains syslogd and klogd.
    See
    http://www.infodrom.org/projects/sys...d-1.4.1.tar.gz


    --
    Dancin' in the ruins tonight
    Tayo'y Mga Pinoy

  8. Re: How to view LOG_DAEMON logs

    Baho Utot writes:

    >On Tue, 28 Nov 2006 01:19:58 +0000, Unruh wrote:


    >> Baho Utot writes:
    >>
    >>>On Mon, 27 Nov 2006 06:02:56 -0800, voipfc wrote:

    >>
    >>>>
    >>>> Unruh wrote:
    >>>>> "voipfc" writes:
    >>>>>
    >>>>>
    >>>>> >I have recently setup MyDNS and I set its logging facility to
    >>>>> >LOG_DAEMON.
    >>>>>
    >>>>> >When a program is set up to use LOG_DAEMON which file do the logs go to
    >>>>> >and how can they be checked?
    >>>>>
    >>>>> That is up to you. /etc/syslog.conf
    >>>>> On my system it is
    >>>>> daemon.* /var/log/daemonlog
    >>>>> but you can do what you want.
    >>>>
    >>>> How is the daemon log started? Is it built in to Linux or does it
    >>>> require some programs to be installed?
    >>>>
    >>>> There was not daemon.* entry in my /etc/syslog.conf file

    >>
    >>>sysklogd

    >>
    >>
    >> No, syslogd, which all distros start up on bootup.


    >Same package, the source for sysklogd contains syslogd and klogd.
    >See
    >http://www.infodrom.org/projects/sys...d-1.4.1.tar.gz


    Sorry, I did not realise you were talking about a package on some
    distribution. syslogd is the actual daemon (program) that does the logging.
    distros do not start up packages.



    >--
    >Dancin' in the ruins tonight
    >Tayo'y Mga Pinoy


  9. Re: How to view LOG_DAEMON logs

    On Tue, 28 Nov 2006 16:59:20 +0000, Unruh wrote:

    > Baho Utot writes:
    >
    >>On Tue, 28 Nov 2006 01:19:58 +0000, Unruh wrote:

    >
    >>> Baho Utot writes:
    >>>
    >>>>On Mon, 27 Nov 2006 06:02:56 -0800, voipfc wrote:
    >>>
    >>>>>
    >>>>> Unruh wrote:
    >>>>>> "voipfc" writes:
    >>>>>>
    >>>>>>
    >>>>>> >I have recently setup MyDNS and I set its logging facility to
    >>>>>> >LOG_DAEMON.
    >>>>>>
    >>>>>> >When a program is set up to use LOG_DAEMON which file do the logs go to
    >>>>>> >and how can they be checked?
    >>>>>>
    >>>>>> That is up to you. /etc/syslog.conf
    >>>>>> On my system it is
    >>>>>> daemon.* /var/log/daemonlog
    >>>>>> but you can do what you want.
    >>>>>
    >>>>> How is the daemon log started? Is it built in to Linux or does it
    >>>>> require some programs to be installed?
    >>>>>
    >>>>> There was not daemon.* entry in my /etc/syslog.conf file
    >>>
    >>>>sysklogd
    >>>
    >>>
    >>> No, syslogd, which all distros start up on bootup.

    >
    >>Same package, the source for sysklogd contains syslogd and klogd.
    >>See
    >>http://www.infodrom.org/projects/sys...d-1.4.1.tar.gz

    >
    > Sorry, I did not realise you were talking about a package on some
    > distribution. syslogd is the actual daemon (program) that does the logging.
    > distros do not start up packages.
    >


    I should have put it in "tarball" notation I read the OP as him
    wanting a package/program, so that was my response.

    I don't really use a distro as such I use LFS.

    Anyway the line he is looking for is

    daemon.* -/var/log/daemon.log

    Just add to /etc/syslog.conf YMMV.

    --
    Dancin' in the ruins tonight
    Tayo'y Mga Pinoy

+ Reply to Thread