Skip Menu |
 

This queue is for tickets about the Catalyst-Runtime CPAN distribution.

Report information
The Basics
Id: 74786
Status: new
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: Nobody in particular
Requestors: catalyst [...] sethdaniel.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From catalyst [...] sethdaniel.org Wed Feb 8 12: 35:08 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-4.399 tagged_above=-99.9 required=10 tests=[AWL=-2.500, BAYES_00=-1.9, SPF_FAIL=0.001] autolearn=no
Content-Disposition: inline
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <20120208173459.GA12219 [...] sethdaniel.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -4.399
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 5B57F241425 for <cpan-bug+Catalyst-Runtime [...] hipster.bestpractical.com>; Wed, 8 Feb 2012 12:35:08 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XZDA1y1KY9wx for <cpan-bug+Catalyst-Runtime [...] hipster.bestpractical.com>; Wed, 8 Feb 2012 12:35:07 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 327592412BB for <bug-Catalyst-Runtime [...] rt.cpan.org>; Wed, 8 Feb 2012 12:35:07 -0500 (EST)
Received: (qmail 20063 invoked by uid 103); 8 Feb 2012 17:35:06 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 8 Feb 2012 17:35:06 -0000
Received: from mail-yx0-f178.google.com (HELO mail-yx0-f178.google.com) (209.85.213.178) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 08 Feb 2012 09:35:04 -0800
Received: by yenm12 with SMTP id m12so381842yen.9 for <bug-Catalyst-Runtime [...] rt.cpan.org>; Wed, 08 Feb 2012 09:35:01 -0800 (PST)
Received: by 10.182.89.65 with SMTP id bm1mr21061813obb.52.1328722501695; Wed, 08 Feb 2012 09:35:01 -0800 (PST)
Received: from sethd.org ([72.44.80.55]) by mx.google.com with ESMTPS id b7sm205508obj.9.2012.02.08.09.35.00 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Feb 2012 09:35:01 -0800 (PST)
Received: by sethd.org (Postfix, from userid 1000) id AAFD88C5095E; Wed, 8 Feb 2012 09:34:59 -0800 (PST)
Delivered-To: cpan-bug+Catalyst-Runtime [...] hipster.bestpractical.com
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
Subject: --background clobbers log
Return-Path: <catalyst [...] sethdaniel.org>
X-RT-Mail-Extension: catalyst-runtime
X-Original-To: cpan-bug+Catalyst-Runtime [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Sender: Seth Daniel <seth [...] sethdaniel.org>
Date: Wed, 8 Feb 2012 09:34:59 -0800
X-Spam-Level:
Mail-Followup-To: bug-Catalyst-Runtime [...] rt.cpan.org
To: bug-Catalyst-Runtime [...] rt.cpan.org
From: Seth Daniel <catalyst [...] sethdaniel.org>
X-RT-Original-Encoding: us-ascii
Content-Length: 1397
Download (untitled) / with headers
text/plain 1.3k
Hello, I'm still working on a small program that demonstrates this, but here is a problem I am seeing: Catalyst 5.90007 Log::Log4perl 1.35 CatalystX::Script::Server::Starman 0.01 MooseX::Daemonize 0.13 I setup logging in my app as suggested in the Catalyst::Log perldoc: __PACKAGE__->log( Log::Log4perl::Catalyst->new('log.conf') ); __PACKAGE__->setup; I then start the server with a script that looks like: BEGIN { $ENV{CATALYST_SCRIPT_GEN} = 40; } use Catalyst::ScriptRunner; Catalyst::ScriptRunner->run('MyApp', 'Server'); And that script load another module that loads CatalystX::Script::Server::Starman and eventually starman starts. package MyApp::Script::Server; use Moose; extends 'CatalystX::Script::Server::Starman'; 1; __END__ All of this works. However, when I specify --background and --pidfile the logging will be sent to the pidfile after startup (startup logging goes to the file specified in log.conf; all following logging gets sent to the pidfile). If --background is specified without --pidfile I have no idea where the logging gets sent, but it doesn't get sent to the log file specified in log.conf. Anybody else seen this or have any idea what's going on? I'm currently working on a small program that demonstrates this but it may be a day before I can really get to that. Thanks for any assistance. -- seth /\ sethdaniel.org
From catalyst [...] sethdaniel.org Wed Feb 8 14: 35:59 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-3.149 tagged_above=-99.9 required=10 tests=[AWL=-1.250, BAYES_00=-1.9, SPF_FAIL=0.001] autolearn=no
In-Reply-To: <rt-3.8.HEAD-17367-1328722509-909.74786-3-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
References: <RT-Ticket-74786 [...] rt.cpan.org> <20120208173459.GA12219 [...] sethdaniel.org> <rt-3.8.HEAD-17367-1328722509-909.74786-3-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20120208193551.GA15684 [...] sethdaniel.org>
Content-Type: multipart/mixed; boundary="FL5UXtIhxfXey3p5"
X-Spam-Score: -3.149
X-Amavis-Hold: Exceeded storage quota 8432000 bytes by do_pax_cpio/pre; last chunk 73014446138 bytes
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 50529241425 for <cpan-bug+Catalyst-Runtime [...] hipster.bestpractical.com>; Wed, 8 Feb 2012 14:35:59 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kbg9H++6+S-P for <cpan-bug+Catalyst-Runtime [...] hipster.bestpractical.com>; Wed, 8 Feb 2012 14:35:58 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D48FC2412BB for <bug-Catalyst-Runtime [...] rt.cpan.org>; Wed, 8 Feb 2012 14:35:57 -0500 (EST)
Received: (qmail 31523 invoked by uid 103); 8 Feb 2012 19:35:57 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 8 Feb 2012 19:35:57 -0000
Received: from mail-tul01m020-f178.google.com (HELO mail-tul01m020-f178.google.com) (209.85.214.178) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 08 Feb 2012 11:35:54 -0800
Received: by obbwc7 with SMTP id wc7so1339352obb.9 for <bug-Catalyst-Runtime [...] rt.cpan.org>; Wed, 08 Feb 2012 11:35:52 -0800 (PST)
Received: by 10.182.231.97 with SMTP id tf1mr16913726obc.32.1328729752087; Wed, 08 Feb 2012 11:35:52 -0800 (PST)
Received: from sethd.org ([72.44.80.55]) by mx.google.com with ESMTPS id g3sm545919obk.6.2012.02.08.11.35.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Feb 2012 11:35:51 -0800 (PST)
Received: by sethd.org (Postfix, from userid 1000) id 282368C5095E; Wed, 8 Feb 2012 11:35:51 -0800 (PST)
Delivered-To: cpan-bug+Catalyst-Runtime [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #74786] AutoReply: --background clobbers log
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
Return-Path: <catalyst [...] sethdaniel.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Catalyst-Runtime [...] hipster.bestpractical.com
X-RT-Mail-Extension: catalyst-runtime
Date: Wed, 8 Feb 2012 11:35:51 -0800
Sender: Seth Daniel <seth [...] sethdaniel.org>
X-Spam-Level:
To: Bugs in Catalyst-Runtime via RT <bug-Catalyst-Runtime [...] rt.cpan.org>
Mail-Followup-To: Bugs in Catalyst-Runtime via RT <bug-Catalyst-Runtime [...] rt.cpan.org>
From: Seth Daniel <catalyst [...] sethdaniel.org>
RT-Message-ID: <rt-3.8.HEAD-1148-1328729760-341.74786-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 347
Download (untitled) / with headers
text/plain 347b
I've attached a small tarball with a small cat app to exhibit the problem: From the root of the dist run: $ start_app --background --pidfile /tmp/app-server.pid Once it has started you can $ wget http://localhost:3000 You can then see in app-server.pid that logging is now going there and not to app-server.log. -- seth /\ sethdaniel.org
Content-Type: application/x-tar
content-disposition: attachment; filename="app-background-bug.tar"
Content-Transfer-Encoding: base64
Content-Length: 10240
Download app-background-bug.tar
application/x-tar 10k

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.