unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Théo Maxime Tyburn" <theo.tyburn@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Kaelyn <kaelyn.alexi@protonmail.com>, guix-devel@gnu.org
Subject: Re: see which X11 config is being used
Date: Mon, 23 May 2022 21:11:35 +0200	[thread overview]
Message-ID: <87wnecovud.fsf@gmail.com> (raw)
In-Reply-To: <87leus470v.fsf@gnu.org>

Hi,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Théo Maxime Tyburn <theo.tyburn@gmail.com> skribis:
>
>> thanks, that helped! I just learned by scrolling the guix-devel archives
>> that log files are conventionaly gathered in /var/log in guix. I wasn’t
>> aware of that. Is it documented somewhere ?
>
> I don’t think it’s documented; it’s a traditional Unix convention I
> think.

Yes it seems indeed. I have somehow missed that.

>Perhaps we should explain it somewhere in the manual, maybe next
> to ‘syslog-service-type’?

What about:

Following the Unix tradition, logs are generally put in
/var/log/. This is for exemple the case for the logs from Xorg, slim, mcron, lightdm,
gdm, and docker.

I am not sure where to put it though. Under Services for sure. Near syslog could make sense
but at the same time it is not where I would have looked. Also syslog
doesn’t determines where logs from all these programs are put. Or does
it? If not, maybe it could have a place directly on the Services page.

This is the content of %default-syslog.conf

--8<---------------cut here---------------start------------->8---
# Log all error messages, authentication messages of
# level notice or higher and anything of level err or
# higher to the console.
# Don't log private authentication messages!
*.alert;auth.notice;authpriv.none       /dev/console
 
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none          /var/log/messages
 
# Like /var/log/messages, but also including "debug"-level logs.
*.debug;mail.none;authpriv.none         /var/log/debug
 
# Same, in a different place.
*.info;mail.none;authpriv.none          /dev/tty12
 
# The authpriv file has restricted access.
authpriv.*                              /var/log/secure
 
# Log all the mail messages in one place.
mail.*                                  /var/log/maillog
--8<---------------cut here---------------end--------------->8---

Or maybe it could be even better to have a page where all the
similarities and particularities of guix are listed. Like what follows
the Unix convention and what doesn’t. Maybe the list of what follows
the Unix convention would be too long, but the particuliarities would
surely be nice to have.

>
> Thanks,
> Ludo’.

Cheers,
Théo


      reply	other threads:[~2022-05-23 20:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27  9:20 see which X11 config is being used Théo Maxime Tyburn
2022-04-30 16:21 ` Kaelyn
2022-05-03  9:07   ` Théo Maxime Tyburn
2022-05-23 15:12     ` Ludovic Courtès
2022-05-23 19:11       ` Théo Maxime Tyburn [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnecovud.fsf@gmail.com \
    --to=theo.tyburn@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=kaelyn.alexi@protonmail.com \
    --cc=ludo@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).