Skip to content

LightDM logs to /var/log rather than journal #26172

@lheckemann

Description

@lheckemann

Issue description

When using lightdm, the X server log goes to /var/log/X.0.log and /var/log/x-0.log (the former is with timestamps, the latter without) and the display manager log goes to /var/log/lightdm.log. All of this should instead go to the journal. This seems to be hard-coded behaviour in lightdm (X server, lightdm). This makes debugging errors more difficult and inconsistent with other display managers.

Steps to reproduce

Enable and start lightdm.

Technical details

  • System: 17.03.1203.58e227052d (Gorilla)
  • Nix version: nix-env (Nix) 1.11.8
  • Nixpkgs version: "17.03.1203.58e227052d"
  • Sandboxing enabled: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md2.status: wait-for-upstreamWaiting for upstream fix (or their other action).
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions