Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106736 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 96226 invoked from network); 28 Aug 2019 17:22:34 -0000 Received: from unknown (HELO mail-vs1-f44.google.com) (209.85.217.44) by pb1.pair.com with SMTP; 28 Aug 2019 17:22:34 -0000 Received: by mail-vs1-f44.google.com with SMTP id i128so148201vsc.7 for ; Wed, 28 Aug 2019 07:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LolWsvqJc6sSpn4MxvwvB0G54qR+iZ2GADYpsvyHmYA=; b=ro1CSDMM71kHcXXNPaMmxJEzZeZZu1b9Q81wYXugNySzjKpCyzUUS8wgat28eoLcwz qZQr7sjhRM94tZdO60Hh/4WMif/Qc5NahyAk7td09g3MsqeWCZ7ZaiouViNQcveFBSLo rizSlbpQRy5mrPyRPS+UBdcPwDGavVyfkoKHNBMPXGy9vwz/imz+/3n2bPu1tETcZMO6 Vw5MpQVw+mTFrdfOtSh1UV+8GtFkppjoFRaVALc8pEkYTw2ib0Z/bQNa+ZeKTowOsw7u dR97ccOt3d5OJI4+MCFUDYX6QETMzbGdIPSqwWCea4j8xXHLN1l/I1TRYI+sKsZ76cA8 E6/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LolWsvqJc6sSpn4MxvwvB0G54qR+iZ2GADYpsvyHmYA=; b=G0KLRiOxv8YZvpqt9lcBN08SNQldIkYBQqwPvjs4MW2lKSiRA9HkSCBQCVfF9Db2Q7 UZxjNl/7GUUUuJZCo8bxOeO9iDdgbI3z4iMDtcEZycSgaqS1+uMASV7rk1dNhqkRR9pW foSiXq268H4Q47s0LZyM5H8nkLMUJ9f4SJvmkantYu2hKWMsg0qLrXkuN2W8d7gnjICh LPHdvrUnC0nYaX7BM5pHfi5IRw42Wq6opSxQg6mkrFt7h2eMHUFojIDTQfDI25kfQA4+ ORy7G4TNI7s80bP9KqYqNDxmTUSV/0SGjP2Jk5LcnhMKhIJLhGn3+HN6I82o0HzjVsCv Vi8g== X-Gm-Message-State: APjAAAXBOhqWN6MKq1ZP32Z42xg+eXbtXlZKbZl9EvdXEUJyIbI6mivS Xsav5KRbqfVHGvMBLxifdNQVifAUI/WmMhxjB8w= X-Google-Smtp-Source: APXvYqwotwkOHxIiOjJBRGcc0k0PdMnVFGUjHBsrsyadbFFFXpZTwKYsu1Xesz9/0QRNQIj8TGcbfjZbiwfFCDG0ITo= X-Received: by 2002:a67:d69e:: with SMTP id o30mr2750878vsj.126.1567004084571; Wed, 28 Aug 2019 07:54:44 -0700 (PDT) MIME-Version: 1.0 References: <7ddbae5c-7451-4094-8b32-19676128054b@thelounge.net> In-Reply-To: Date: Wed, 28 Aug 2019 10:54:32 -0400 Message-ID: To: Marco Pivetta Cc: Gert , PHP internals Content-Type: multipart/alternative; boundary="000000000000d2926205912e911c" Subject: Re: [PHP-DEV] [RFC] Reclassifying engine warnings From: chasepeeler@gmail.com (Chase Peeler) --000000000000d2926205912e911c Content-Type: text/plain; charset="UTF-8" On Wed, Aug 28, 2019 at 10:39 AM Marco Pivetta wrote: > On Wed, Aug 28, 2019 at 4:27 PM Chase Peeler > wrote: > >> On Wed, Aug 28, 2019 at 10:20 AM Gert wrote: >> Notices include a lot more than just undeclared variables. Turning them on >> in our environment would pretty much make the logs unusable for any on the >> spot checking for issues. They would only be useful if we were trying to >> parse out specific errors, and, they would be HUGE. Each web server >> generates about 5-10 megs of logs in a day. Our CLI servers (which runs >> beanstalkd jobs) generates about 80-100 megs of logs in a day. That's >> without notices turned on. > > > I worked with clients with much more log overhead happening: the solution > is working to fix these issues, and not ignoring more of them. > > You going to come and fix the issues? It's an internal application and most of those messages are coming from legacy areas of the code which are mainly "it works, so leave it alone" things. Instead of going back and spending time trying to fix those boondoggles, we invest the time of our developers (there are 2 others besides myself) into building new features that help our business grow. Time permitting, we try and update some of the legacy areas, but, we usually find it's a better investment to just rebuild them at that point. Bottom line is that we live with the not-so-good stuff so that we can focus on adding new great stuff. The not-so-good stuff isn't holding us back, and trying to fix things like undeclared variables would have absolutely ZERO positive effect on our business, which uses this application every day. If I went to our executive team and said "Can we delay that new scheduling system that will really help our business so I can go back and update code to get rid of these undeclared variable notices?" I'd get laughed at! Like I've said before - can we please stop pretending we understand everyone else's situation? Maybe my situation is unique. My gut tells me it might be unique among people on this list, but, that it's actually pretty common among the myriad of developers out there which never get involved in these discussions. > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > -- Chase Peeler chasepeeler@gmail.com --000000000000d2926205912e911c--