delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/29/21:24:39

Message-Id: <200507300124.j6U1OcoK025842@delorie.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Herb Martin" <HerbM AT learnquick DOT com>
To: "'Cygwin List'" <cygwin AT cygwin DOT com>
Subject: SysLogD for the naive?
Date: Fri, 29 Jul 2005 20:24:44 -0500
MIME-Version: 1.0

I added SysLogD as a service to my Cygwin server
(because I wanted to support SpamD logging to it
for SpamAssassin.)

CYGWIN syslogd is started and running as a service.
(And SpamD stopped emitting a warning about unable to
find syslogd when it starts.)

/var/log/sylogd.log was created at that time and remains at
size:  0 bytes (since the yesterday July 28) while 
/var/log/wtmp is at 19Meg and updated frequently (inspecting 
it  reveals a lot  of NUL bytes and is somewhat difficult to 
read.)

Reading my syslog.conf indicated that the messages are
going to /var/log/messages.

But what is that 19 Meg wtmp?   (I have plenty of disk space
so haven't just renamed or deleted it yet.)

I took almost all of the defaults -- glanced at the syslog.conf
and didn't see anything that I understood how or why to change 
so I *believe* that it is still at the defaults. (See below)

Please tell me what I have overlooked or done incorrectly.

Latest Cygwin.
Microsoft Windows [Version 5.2.3790]

My syslog.conf
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
#*.info;mail.none;authpriv.none		/var/log/messages
# The authpriv file has restricted access.
#authpriv.*				/var/log/secure
# Log all the mail messages in one place.
#mail.*					/var/log/maillog
#For a start, use this simplifed approach.
*.*					/var/log/messages

Also, can you (generally) HUP a service and expect it
to re-read a configuration file?  (If it would do so
on a kill -s HUP signal that is).

--
Herb Martin


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019