Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

For syslog : apt-get install rsyslog

107 views
Skip to first unread message

C.T.F. Jansen

unread,
Jul 6, 2023, 7:10:06 PM7/6/23
to
To restore a readable and accessible syslog in Debian 12.0 enter

apt-get install rsyslog

One doesn't need to do anything with the journal suite.
I installed rsyslog-doc as well. It is in:
/usr/share/doc/rsyslog-doc/html

The logs appear to be set up to rotate etc already in:
/etc/logrotate.conf and /etc/logrotate.d/

This seems to restore other logs as well.

To implement and maintain a system there should be a text log which is
immediately accessible.
The current default logging is unsatisfactory and needs to include a
text log.
One can easily stop it later. This can be done with rsyslog etc already...

Cheers

CTF Jansen, frank....@actrix.gen.nz, ZL2TTS

jeremy ardley

unread,
Jul 6, 2023, 8:10:06 PM7/6/23
to

On 7/7/23 07:59, Greg Wooledge wrote:
> As with many of the unpopular changes that Debian embraces, this is a
> decision they made, and no matter how utterly daft and ridiculous it is,
> no amount of griping by users will change their minds about it.


As I have taken the first step of changing one of my systems to V12, the
OP revelation that I can get back my syslogs is most welcome.

On the topic of gripes, 12 still has the obnoxious NetworkManager as
immutable default on new install. Luckily this is easily undone. It
takes moments replace it with my now preferred systemd-networkd which is
highly competent , predictable, and unbuggy - unlike NetworkManager


Jeremy

Greg Wooledge

unread,
Jul 6, 2023, 8:10:06 PM7/6/23
to
On Fri, Jul 07, 2023 at 10:53:10AM +1200, C.T.F. Jansen wrote:
> To restore a readable and accessible syslog in Debian 12.0 enter
>
> apt-get install rsyslog
>
> One doesn't need to do anything with the journal suite.
> I installed rsyslog-doc as well. It is in: /usr/share/doc/rsyslog-doc/html

... is there a question in here?

> The current default logging is unsatisfactory and needs to include a text
> log.

Oh, it's a gripe, not a question.

You may dislike the decision all you wish, and we may even all agree
with you, but griping here will not change anything.

This was an intentional change made by Debian, and they are proud of it.
They even documented it, and told you how you can achieve this
no-text-log-files state after an upgrade from a previous release:

https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#changes-to-system-logging

Charles Curley

unread,
Jul 6, 2023, 10:30:06 PM7/6/23
to
On Fri, 7 Jul 2023 10:53:10 +1200
"C.T.F. Jansen" <frank....@actrix.gen.nz> wrote:

> The current default logging is unsatisfactory and needs to include a
> text log.

You can get much of the effect of /var/log/syslog with journalctl. "man
journactl" for the gory details. Of particular use are the -f and -u
options.

--
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

to...@tuxteam.de

unread,
Jul 7, 2023, 12:40:06 AM7/7/23
to
On Thu, Jul 06, 2023 at 08:21:18PM -0600, Charles Curley wrote:
> On Fri, 7 Jul 2023 10:53:10 +1200
> "C.T.F. Jansen" <frank....@actrix.gen.nz> wrote:
>
> > The current default logging is unsatisfactory and needs to include a
> > text log.
>
> You can get much of the effect of /var/log/syslog with journalctl.

The OP seems to prefer "all of the effect", and not just "much of",
which I understand. So thanks them for the hint (I run systemd-less,
so I just know enough journalctl to help other poor souls ;-)

Cheers
--
t
signature.asc
0 new messages