mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-20 12:34:19 +02:00
Changed: default log directory for ly-session
This addresses #808 and #823 conclusively for all parties. - It requires no additional directory creation. - It does not impact users who do not have a problem. - It adds additional documentation detail in both the bug template and the readme to help users who *are* having a problem. - Fulfills the spirit of the [XDG Spec(https://specifications.freedesktop.org/basedir-spec/latest) but not in practice as `$XDG_CONFIG_HOME` and `$HOME` and the associated logic are not implemented. `~/.local/state` is the fallback location. In particular, the spec indicates: > It may contain: actions history (**logs**, history, …)
This commit is contained in:
parent
0cf752f3b8
commit
704b7925dc
3 changed files with 8 additions and 3 deletions
5
.github/ISSUE_TEMPLATE/bug.yml
vendored
5
.github/ISSUE_TEMPLATE/bug.yml
vendored
|
|
@ -58,8 +58,9 @@ body:
|
|||
attributes:
|
||||
label: Relevant logs
|
||||
description: |
|
||||
Please copy and paste (or attach) any relevant logs, error messages or any other output. This will be automatically formatted into code, so no need for backticks. Screenshots are accepted if they make life easier for you.
|
||||
Moreover, it is almost always a good idea to include your session log and your general log files (found at ~/ly-session.log and /var/log/ly.log respectively by default) as it usually contains relevant information about the problem.
|
||||
Please copy and paste (or attach) any relevant logs, error messages or any other output. This will be automatically formatted into code, so no need for backticks. Screenshots are accepted if they make life easier for you. The log files (located as specified by `/etc/ly/config.ini`) usually contain relevant information about the problem:
|
||||
- The session log is located at `~/.local/state/ly-session.log` by default.
|
||||
- The system log is located at `/var/log/ly.log` by default.
|
||||
render: shell
|
||||
- type: textarea
|
||||
id: moreinfo
|
||||
|
|
|
|||
|
|
@ -57,6 +57,10 @@ managers, all of which you can find in the sections below:
|
|||
|
||||
[X11 environments](#supported-x11-environments)
|
||||
|
||||
Logs are defined by `/etc/ly/config.ini`:
|
||||
- The session log is located at `~/.local/state/ly-session.log` by default.
|
||||
- The system log is located at `/var/log/ly.log` by default.
|
||||
|
||||
## Manually building
|
||||
|
||||
The procedure for manually building Ly is pretty standard:
|
||||
|
|
|
|||
|
|
@ -285,7 +285,7 @@ service_name = ly
|
|||
# Important: due to technical limitations, X11 and shell sessions aren't supported, which
|
||||
# means you won't get any logs from those sessions.
|
||||
# If null, no session log will be created
|
||||
session_log = ly-session.log
|
||||
session_log = .local/state/ly-session.log
|
||||
|
||||
# Setup command
|
||||
setup_cmd = $CONFIG_DIRECTORY/ly/setup.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue