Package: file Version: 1:5.35-2 Severity: normal file mistakes Xorg.0.log file as JSON data (which breaks viewing with "less" + LESSOPEN).
Example on the first 5 lines: [105215.998] X.Org X Server 1.20.3 X Protocol Version 11, Revision 0 [105215.998] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian [105215.998] Current Operating System: Linux cventin 4.19.0-3-amd64 #1 SMP Debian 4.19.20-1 (2019-02-11) x86_64 $ file Xorg.0.log Xorg.0.log: JSON data -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-3-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages file depends on: ii libc6 2.28-7 ii libmagic1 1:5.35-2 ii zlib1g 1:1.2.11.dfsg-1 file recommends no packages. file suggests no packages. -- no debconf information