From nobody Sat Apr 15 00:45:04 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PyvjY0Ncsz4595G for ; Sat, 15 Apr 2023 00:45:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PyvjX2WSVz4l2n for ; Sat, 15 Apr 2023 00:45:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681519504; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qt1zw1WkHZBfngISMpEocL3S7bFNE3s7X2Y6j3BVobc=; b=hHa1BRUhn0M8lmdXBqlOayQjFPj5BIocZwuGAlENvGXoEITS7KCNgY+mD0g62fuAdQUlXE p40yHPdRve75WAF6BO8J8WuUhGacKXiEA9qy9lv2qjCj1fUPdFL8jnzcA/eCEyzRSixeZl oDwuyw87LXkIk9XpnCoLaWjjE2SvTms3h1VNsuOeEwjQyELOg1uuDjGIV0SzGk3WiYRljt g6meFhHBLrVl/4yfNbMhTdlw3oQJfMstfDpnkI1af7POvbPJdNnr5jkjt63s+lxr+l+Tac ErsoE5isrf4VhFKUcCfArO2oNa2ZN9Z7bR2W7oZHSFwNgasajtlizxRaXMLf2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681519504; a=rsa-sha256; cv=none; b=yuvH9EveuDbfnoKcfRfi7+hEpmerItGKEvpwHvEb2T52i7chhqaYW2nbQNQMTu0CEOXTu6 nkc3IAC6uY7yBKbbwRz66hasclGiUvQUJg6SSa0bRr5wAjUwXbMdkorydLX3b0/2qpfG83 dBPOJemjE601u48WS+pKKHjcmqGq6jO40yJAmA7Bnd1Qy24g7h8uCxxZOz0CNPzdA9bdud yZtEufzZtgHN3fTRhKRnQ+etV/BVG7cdHWdMZdbSrM3hEqKU8sA9EXMdfrc5QHhmHZkc+9 6zqN0HxqPoKSP01lMeRJ0T3nYVV7+lPjhgSpRxLKwbyjr5bMl+gsvGAh50BFkw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PyvjX1VLmzm2w for ; Sat, 15 Apr 2023 00:45:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33F0j4Dx039419 for ; Sat, 15 Apr 2023 00:45:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33F0j4op039418 for bugs@FreeBSD.org; Sat, 15 Apr 2023 00:45:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236117] /usr/sbin/daemon should support stdin,stdout,stderr redirect to files other than /dev/null Date: Sat, 15 Apr 2023 00:45:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: feature X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ihor@antonovs.family X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236117 --- Comment #2 from Ihor Antonov --- zhoutao@laocius.org: You could send logs to syslog, if that works for you. Check these daemon options: --syslog Send output to syslog=20 --output-mask What to send to syslog/file 1=3Dstdout, 2=3Dstderr, 3=3Dboth I know this is not ideal. I am thinking about the way to add the feature you request without breaking the current interface and without making it inconsistent/incoherent.. --=20 You are receiving this mail because: You are the assignee for the bug.=