[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#109687: marked as done (Please add option to run in normal standalone mode, but in the foreground; support logging to programs)



Your message dated Thu, 18 Sep 2003 23:25:42 +0200
with message-id <20030918212542.GX12009@hellgate.intra.guy>
and subject line Fixed, done, thanks.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Aug 2001 21:50:47 +0000
>From korn@chardonnay.math.bme.hu Wed Aug 22 16:50:47 2001
Return-path: <korn@chardonnay.math.bme.hu>
Received: from chardonnay.math.bme.hu [152.66.83.144] ([sksKat5JD+BA/btQNefnImnZB5wRtkP5])
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 15Zfte-0006Wd-00; Wed, 22 Aug 2001 16:50:47 -0500
Received: (qmail 8982 invoked from network); 22 Aug 2001 21:50:41 -0000
Received: from localhost (HELO line-119-202.dial.matav.net) (?JrI8uwkMHEFwdZPHERFlLi0GknSeVdWN?@127.0.0.1)
  by localhost with SMTP; 22 Aug 2001 21:50:41 -0000
Received: (qmail 10642 invoked from network); 22 Aug 2001 21:50:40 -0000
Received: from utopia.intra.guy (HELO utopia) (?Bt8LvZXgr16DX3f/cRKL1/DIE3kfCmPo?@192.168.0.1)
  by hellgate.intra.guy with SMTP; 22 Aug 2001 21:50:40 -0000
Received: (qmail 16693 invoked by uid 1000); 22 Aug 2001 21:52:09 -0000
Message-ID: <20010822215209.16692.qmail@utopia>
From: "KORN Andras" <korn@chardonnay.math.bme.hu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Please add option to run in normal standalone mode, but in the foreground; support logging to programs
X-Reportbug-Version: 1.23
X-Mailer: reportbug 1.23
Date: Wed, 22 Aug 2001 23:52:08 +0200
Delivered-To: submit@bugs.debian.org

Package: apache
Version: 1.3.20-1
Severity: wishlist

Hi,

It'd be nice if apache provided a way of preventing it from detaching from
the console (e.g. by way of a command-line or configuration option).

This would make it both easier and more useful to run apache under process
monitoring tools such as daemontools.

If apache's normal diagnostic messages were echoed to stdout or stderr
instead of syslog when it's run in the foreground, I would be even happier.

Additionally, apache could support logging to programs through pipes instead
of to files only. I'd like to say, for example, that the access log should
go to '| multilog t /var/log/sitename/'. In this case, apache should start a
multilog process for this logfile that's kept running as long as apache
runs, and all lines that would normally go into the logfile should be
written into the pipe. Since the external program can do timestamping as
well, an option to disable log entry timestamping could be provided, too.

This would have the advantage that access logs and error logs could be
size-limited automatically; multilog, for example, automatically rotates the
logfiles it creates, so you can specify absolute upper bounds for logfile
sizes; whereas with logrotate, a logfile may fill up all available space (or
grow beyond 2G, which can be just as unpleasant) between two invocations of
logrotate.

Naturally, it's possible to implement this 'logging to programs' by creating
named pipes in the filesystem, directing apache to log to them as files, and
having the external program (e.g. multilog) read from those pipes, but it'd
be cleaner if apache provided native support for this.

Best regards,

Andrew

-- 
            Andrew Korn (Korn Andras) <korn@chardonnay.math.bme.hu>
             Finger korn@chardonnay.math.bme.hu for pgp key. QOTD:
            A bug is a feature that didn't make it into the manual.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux utopia 2.4.7-utopia-alsa #2 Sat Aug 4 11:58:13 CEST 2001 i686



---------------------------------------
Received: (at 109687-close) by bugs.debian.org; 18 Sep 2003 21:29:07 +0000
>From korn-109687-close=bugs.debian.org@chardonnay.math.bme.hu Thu Sep 18 16:25:44 2003
Return-path: <korn-109687-close=bugs.debian.org@chardonnay.math.bme.hu>
Received: from chardonnay.math.bme.hu [152.66.83.144] 
	by master.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1A06HY-0006az-00; Thu, 18 Sep 2003 16:25:44 -0500
Received: (qmail 28708 invoked from network); 18 Sep 2003 21:25:43 -0000
Received: from localhost (HELO hellgate.intra.guy) (root@127.0.0.1)
  by localhost with SMTP; 18 Sep 2003 21:25:43 -0000
Received: (qmail 21512 invoked by uid 1000); 18 Sep 2003 21:25:42 -0000
Date: Thu, 18 Sep 2003 23:25:42 +0200
From: KORN Andras <korn@chardonnay.math.bme.hu>
To: 109687-close@bugs.debian.org
Subject: Fixed, done, thanks.
Message-ID: <20030918212542.GX12009@hellgate.intra.guy>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Delivered-To: 109687-close@bugs.debian.org
X-Spam-Status: No, hits=0.0 required=4.0
	tests=none
	version=2.53-bugs.debian.org_2003_9_16
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_9_16 (1.174.2.15-2003-03-30-exp)

Hi,

the appearance of the -F switch addresses my first wishlist item, and
logging to programs via CustomLog '|foo' has probably been possible for a
long time.

The bug can be closed.

Andrew

-- 
          Andrew Korn (Korn Andras) <korn at chardonnay.math.bme.hu>
           Finger korn at chardonnay.math.bme.hu for pgp key. QOTD:
         Support Women's Liberation - make him sleep on the wet patch.



Reply to: