โฒ 797 โผ This guyโs a real Upstart if you ask me (thelemmy.club) submitted 3 weeks ago by cannedtuna@lemmy.world to c/linuxmemes@lemmy.world 184 comments fedilink hide all child comments
[โ] Illecors@lemmy.cafe 2 points 3 weeks ago (2 children) I mean... zless and zgrep have been a thing since forever ago. And some distros ship with lessopen(?) preinstalled, so it's seemless. There are only so many times I'm willing to put up with lost logfile due to a crash. Logrotate wouldn't do this. permalink fedilink source parent hideshow 4 child comments replies: [โ] hirihit640@sh.itjust.works 4 points 3 weeks ago (1 child) But then you aren't just using a text editor anymore. If you're willing to use programs like zless and zgrep, then you can just as easily use journalctl. And I've never lost a logfile before, over many years, so not to discredit your experience but at least in my experience journald has been an upgrade permalink fedilink source parent hideshow 2 child comments replies: [โ] Illecors@lemmy.cafe 0 points 3 weeks ago (1 child) Why would I ever use a text editor? I think our approaches to viewing logs are fundamentally different. permalink fedilink source parent hideshow 2 child comments replies: [โ] hirihit640@sh.itjust.works 2 points 3 weeks ago Well the original comment I responded to said It's not the binary. It's that the logs it writes are in binary so can't be read without a program. Of course, a text editor is also a "program", but I assumed they were saying they preferred plain text logs. If you aren't agreeing with them then you need to state your position more clearly when you hop in. permalink fedilink source parent [โ] esc@piefed.social 1 point 3 weeks ago You can read systemd logs with strings program (part of binutils). Even if the file itself corrupted due to a crash. permalink fedilink source parent
[โ] hirihit640@sh.itjust.works 4 points 3 weeks ago (1 child) But then you aren't just using a text editor anymore. If you're willing to use programs like zless and zgrep, then you can just as easily use journalctl. And I've never lost a logfile before, over many years, so not to discredit your experience but at least in my experience journald has been an upgrade permalink fedilink source parent hideshow 2 child comments replies: [โ] Illecors@lemmy.cafe 0 points 3 weeks ago (1 child) Why would I ever use a text editor? I think our approaches to viewing logs are fundamentally different. permalink fedilink source parent hideshow 2 child comments replies: [โ] hirihit640@sh.itjust.works 2 points 3 weeks ago Well the original comment I responded to said It's not the binary. It's that the logs it writes are in binary so can't be read without a program. Of course, a text editor is also a "program", but I assumed they were saying they preferred plain text logs. If you aren't agreeing with them then you need to state your position more clearly when you hop in. permalink fedilink source parent
[โ] Illecors@lemmy.cafe 0 points 3 weeks ago (1 child) Why would I ever use a text editor? I think our approaches to viewing logs are fundamentally different. permalink fedilink source parent hideshow 2 child comments replies: [โ] hirihit640@sh.itjust.works 2 points 3 weeks ago Well the original comment I responded to said It's not the binary. It's that the logs it writes are in binary so can't be read without a program. Of course, a text editor is also a "program", but I assumed they were saying they preferred plain text logs. If you aren't agreeing with them then you need to state your position more clearly when you hop in. permalink fedilink source parent
[โ] hirihit640@sh.itjust.works 2 points 3 weeks ago Well the original comment I responded to said It's not the binary. It's that the logs it writes are in binary so can't be read without a program. Of course, a text editor is also a "program", but I assumed they were saying they preferred plain text logs. If you aren't agreeing with them then you need to state your position more clearly when you hop in. permalink fedilink source parent
[โ] esc@piefed.social 1 point 3 weeks ago You can read systemd logs with strings program (part of binutils). Even if the file itself corrupted due to a crash. permalink fedilink source parent