Re: [logs] tbird rant: syslog.conf, tabs and spaces

From: Darren Reed (avalonat_private)
Date: Wed May 07 2003 - 19:13:59 PDT

  • Next message: Rob Scott: "Re: [logs] tbird rant: syslog.conf, tabs and spaces"

    In some mail from Rob Scott, sie said:
    > 
    > At 03:57 PM 5/6/2003, Tina Bird wrote:
    > 
    > >Surely one of the most common errors for newbies configuring syslog is to
    > >use blank spaces instead of tabs in syslog.conf.  When that happens,
    > >syslog variously fails to start because it can't parse the file, or starts
    > >but refuses to accept any data.
    > >
    > >Why the *bleep* can't it be civilized and write a message to the damn
    > >system log?  Or to the console? Or to its own special logfile?
    > 
    > 
    > My biggest pet peeve about traditional syslog daemons is that if the system 
    > admin (me, usually) forgets to actually create the target file called out 
    > in a syslog rule then syslog will only tell you about it at start time 
    > rather than simply create the file in question.  I admit that a truly 
    > paranoid and control oriented admin may not wish a system utility like this 
    > to go about creating files.  However, I've always felt that if syslog can 
    > detect that I haven't created a target log file why shouldn't it just go 
    > ahead and create the fritzing thing rather than just whining about it.
    
    And who should own it and what permissions should it have on it ?
    And you would configure that in syslogd how ?
    
    Not to mention that the other aspect of not logging to a file that
    is not there vs creating it on demand, creates a control mechanism
    for logging outside of syslogd itself, independant of syslog.conf.
    
    Darren
    _______________________________________________
    LogAnalysis mailing list
    LogAnalysisat_private
    http://lists.shmoo.com/mailman/listinfo/loganalysis
    



    This archive was generated by hypermail 2b30 : Wed May 07 2003 - 23:09:40 PDT