From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 15 19:59:48 2015 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53AA285D for ; Mon, 15 Jun 2015 19:59:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 358CD75A for ; Mon, 15 Jun 2015 19:59:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5FJxmnC079927 for ; Mon, 15 Jun 2015 19:59:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 200884] www/thttpd - Option to remove stats in syslog? Date: Mon, 15 Jun 2015 19:59:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: donnex@donnex.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: danfe@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 19:59:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200884 Bug ID: 200884 Summary: www/thttpd - Option to remove stats in syslog? Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: donnex@donnex.net Flags: maintainer-feedback?(danfe@FreeBSD.org) Assignee: danfe@FreeBSD.org I just upgraded my thttpd package to the latest version thttpd-2.26_1 Since the upgrade I get stats outputed to syslog every hour (3600 secs). I don't know if this is the proper channel, but it would be really nice if there were a way to configure and turn off the stats output from thttpd to syslog. I tracked the stats output down to config.h, it seems possible to turn it off. /* CONFIGURE: Seconds between stats syslogs. If this is undefined then ** no stats are accumulated and no stats syslogs are done. */ #define STATS_TIME 3600 ## messages Jun 15 19:45:57 thttpd[64878]: up 14400 seconds, stats for 3600 seconds: Jun 15 19:45:57 thttpd[64878]: thttpd - 8 connections (0.00222222/sec), 1 max simultaneous, 200000 bytes (55.5556/sec), 2 httpd_conns allocated Jun 15 19:45:57 thttpd[64878]: libhttpd - 30 strings allocated, 8200 bytes (273.333 bytes/str) Jun 15 19:45:57 thttpd[64878]: map cache - 0 allocated, 0 active (0 bytes), 0 free; hash size: 0; expire age: 1800 Jun 15 19:45:57 thttpd[64878]: fdwatch - 2156 kevents (0.598889/sec) Jun 15 19:45:57 thttpd[64878]: timers - 3 allocated, 3 active, 0 free Jun 15 20:45:57 thttpd[64878]: up 18000 seconds, stats for 3600 seconds: Jun 15 20:45:57 thttpd[64878]: thttpd - 0 connections (0/sec), 0 max simultaneous, 0 bytes (0/sec), 2 httpd_conns allocated Jun 15 20:45:57 thttpd[64878]: libhttpd - 30 strings allocated, 8200 bytes (273.333 bytes/str) Jun 15 20:45:57 thttpd[64878]: map cache - 0 allocated, 0 active (0 bytes), 0 free; hash size: 0; expire age: 1800 Jun 15 20:45:57 thttpd[64878]: fdwatch - 730 kevents (0.202778/sec) Jun 15 20:45:57 thttpd[64878]: timers - 3 allocated, 3 active, 0 free Jun 15 21:37:57 thttpd[64878]: up 21120 seconds, stats for 3120 seconds: Jun 15 21:37:57 thttpd[64878]: thttpd - 0 connections (0/sec), 0 max simultaneous, 0 bytes (0/sec), 2 httpd_conns allocated Jun 15 21:37:57 thttpd[64878]: libhttpd - 30 strings allocated, 8200 bytes (273.333 bytes/str) Jun 15 21:37:57 thttpd[64878]: map cache - 0 allocated, 0 active (0 bytes), 0 free; hash size: 0; expire age: 1800 Jun 15 21:37:57 thttpd[64878]: fdwatch - 634 kevents (0.203205/sec) Jun 15 21:37:57 thttpd[64878]: timers - 3 allocated, 3 active, 0 free -- You are receiving this mail because: You are the assignee for the bug.