From: jovanlanik <jovanlanik@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: metalog: update to 20230707
Date: Fri, 07 Jul 2023 18:01:33 +0200 [thread overview]
Message-ID: <20230707160133.4xidUL25_At2DDqNf1HMNHm5vw-Fc7993KH7e6m2d3I@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44912@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]
New comment by jovanlanik on void-packages repository
https://github.com/void-linux/void-packages/pull/44912#issuecomment-1625625388
Comment:
Seems like metalog with the `-v` flag outputs all logs to stdout and stdout is logged back to metalog, the message continues getting logged again and again...
```
Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 16:25:06 [metalog] Jul 07 15:47:49 [sudo] pam_unix(sudo:session): session opened for user root(uid=0) by (
```
I can think of a couple of solutions but the most similar result to current package is deleting the log directory :
```
post_install() {
vsv metalog
rm -rf "${DESTDIR}/etc/sv/metalog/log"
}
```
@classabbyamp Maybe the `vsv` function could have a flag to opt-out of logging?
@teldra What do you think?
next prev parent reply other threads:[~2023-07-07 16:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-07 14:00 [PR PATCH] " jovanlanik
2023-07-07 14:48 ` jovanlanik
2023-07-07 15:00 ` jovanlanik
2023-07-07 16:01 ` jovanlanik [this message]
2023-07-07 16:04 ` classabbyamp
2023-07-07 16:05 ` classabbyamp
2023-07-07 16:20 ` [PR PATCH] [Updated] " jovanlanik
2023-07-08 15:13 ` jovanlanik
2023-07-12 13:43 ` [PR PATCH] [Merged]: " Duncaen
2023-08-18 10:06 ` sgn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230707160133.4xidUL25_At2DDqNf1HMNHm5vw-Fc7993KH7e6m2d3I@z \
--to=jovanlanik@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).