From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by mail.toke.dk (Postfix) with ESMTPS id 6E5E27C6F83 for ; Fri, 8 Jan 2021 01:36:05 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=F/fGOCrt Received: by mail-wm1-x32f.google.com with SMTP id 3so7000066wmg.4 for ; Thu, 07 Jan 2021 16:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:content-transfer-encoding:date:message-id:from:to:cc :subject:references:in-reply-to; bh=onSGqjCYMmhTkcOzbptPomA35Xc5iTecN8UVx8OKM5M=; b=F/fGOCrtvTDvFYYCfpssMY9yiexjgeCNEOYY8+tyGeZToj54Fe/BPnUPfVwv1iuD3Q Dqs1ebns26Wtsi2D9rMGxBnTBTyKHS7fh5r7xLvN0rmJ2anx7wvAlgh2QQj2hzG72LJq lc5v5iJH8G/034wD8890q9EkiqnmyUi6HqcxbEarE9fEUTt4iA0rFFJc160OSP/Dqc2t af2IZMclC1dKbF0fDtCAsbkGvP6UuNLisZklqrzYonKPuMKmtq09CGIDZwjrV6VEv/E1 vPdb4+pjUQVcnnlzjbzl9VdymKLWLdyhOH27n2xQMSGEUKC4Rfd3sE+g4IvCpADr1SKh gETA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding:date :message-id:from:to:cc:subject:references:in-reply-to; bh=onSGqjCYMmhTkcOzbptPomA35Xc5iTecN8UVx8OKM5M=; b=qzL8lojGAGL497f9lbBuYBZz2mbuwMruaD0Z4LqkGB6TN+bHYIuvp8Wem3RCiJYpda wW9aUtIHFJ3WA4pFvaYZduspIMdyNBvUOBbzxVHaLAa4CZx6nh5N818GehxhLNgnxZXP YahyjiqEtKKqLyqvLc78FzjgtYh6UVD/N2jOFKgaIA1VZUxXJMchcLdUx5dKNs/ImYk9 1vdTWsrjfAJZ/PRNug131i4MOMdSUopfuGDWgLSSuysIc/1PLdvyUv8Q0azKiW8Pll6G Mut2rnPOc6xifVCo/p3B1wTWWX38y3/QJuc9Ka2nnJ4avq9BR9Q2nNJFbbLpMBh6kPCk JefA== X-Gm-Message-State: AOAM5317omPSB8OvUVgq5vqzxzVEJO8TJKQrLGLINPI0tKNfvK51wVbx 5ohDn/zF8OyhL51dNO9TiZs= X-Google-Smtp-Source: ABdhPJxDxpeNOkvatih2jU7nTMKiLjXj/P/DFxb/CbXYzREDNysHaz6oNAUbP9SsICfqVNfVDr8cSw== X-Received: by 2002:a1c:87:: with SMTP id 129mr766520wma.183.1610066159787; Thu, 07 Jan 2021 16:35:59 -0800 (PST) Received: from localhost (2a01cb080c297700020ec6fffed9ad5a.ipv6.abo.wanadoo.fr. [2a01:cb08:c29:7700:20e:c6ff:fed9:ad5a]) by smtp.gmail.com with ESMTPSA id u66sm9996895wmg.30.2021.01.07.16.35.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Jan 2021 16:35:59 -0800 (PST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 08 Jan 2021 01:35:58 +0100 Message-Id: From: =?utf-8?q?Antonin_D=C3=A9cimo?= To: "Juliusz Chroboczek" , References: <875z485swt.wl-jch@irif.fr> In-Reply-To: <875z485swt.wl-jch@irif.fr> Message-ID-Hash: 3JCG3OQUIMU5WUPDWHE6BU4IY6SD6KJ5 X-Message-ID-Hash: 3JCG3OQUIMU5WUPDWHE6BU4IY6SD6KJ5 X-MailFrom: antonin.decimo@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.3.2 Precedence: list Subject: [Galene] Re: Logging List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: > Gal=C3=A8ne could potentially: > > - set the environment variables; I think is is better done outside of Gal=C3=A8ne, in the shell or the service manager. > - hook into Pion's internals to redirect the log somewhere Would there be a need to dissociate Gal=C3=A8ne's own logs from Pion's, which could not be achieved by a header in the log format? > to a web page? Would you retain the logs for the whole execution of the program, tee the logs in real-time, re-read the file where the logs would have been written, get them from the service manager, or something else? Is there a noticeable performance impact on logging everything and letting the service manager handle the logging level? there's at least one big service manager on Linux that supports that if the logs are in syslog format. A distribution-provided service file could always enable all the logs from Gal=C3=A8ne and Pion and let the system administrator discard unwanted levels of logs. IMO Gal=C3=A8ne is fine as-is (it could log more), as all the parameters can be tuned outside of Gal=C3=A8ne. -- Antonin