delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/27/03:04:41

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
Date: Sat, 27 Aug 2005 09:04:26 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Timestamps
Message-ID: <20050827070426.GL17452@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <430EE969 DOT 960 DOT 12147B3E AT localhost> <430FCFD7 DOT 23244 DOT 2216F17 AT localhost>
Mime-Version: 1.0
In-Reply-To: <430FCFD7.23244.2216F17@localhost>
User-Agent: Mutt/1.4.2i

On Aug 27 02:28, Wes S wrote:
> Replying to my own email for archives.
> 
> I didn't have syslogd running.  Install script  /bin/syslogd-config
> I initially installed sshd with:
> cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a '-D -e'
> changed to cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a '-D'
> Now I'm happier.  
> 
> Wes
> 
> On 26 Aug 2005 at 10:05, Wes S wrote:
> 
> > I'm using exim and sshd which is working wonderfully on my w2k box.  
> > 
> > My cygwin programs are recent as of the last 7 days if that matters.
> > 
> > What I can't figure out is how to get time/date stamps on the log 
> > files such as sshd.log and exim_main.log.  I got entries but when 
> > they were made, who knows. 

For the records, if syslogd is not running, the syslog output goes to
the Windows event log, which also maintains timestamps.

The service log files created in /var/log only contain the stdout and
stderr output of the services.

Switching on syslogd will not redirect stdout/stderr output to syslogd,
but only the syslog output.

But usually this doesn't matter since "real" services are logging the
important stuff to the syslog anyway and stdout/stderr is only used
for debugging output.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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