Date: Fri, 2 Sep 2022 23:16:28 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: void <void@f-m.fm> Cc: questions@freebsd.org Subject: Re: turn on timestamps in kernel log messages? Message-ID: <CAN6yY1th89btgQUQVDotcoVXnCyh_8PiroTxn72NEGbocCfD=A@mail.gmail.com> In-Reply-To: <Yw8yyRUqx/7cCx8J@void.f-m.fm> References: <YwuEu68m6kiRFNrc@void.f-m.fm> <20220828165715.fr3gvjk2esatukn5@shelly.nomadlogic.org> <YwuhtfGRIN1pNNZV@void.f-m.fm> <eef21030-3a98-4a25-902c-9f66143c84bf@langille.org> <Ywv%2BZeOeFVVjWsqH@void.f-m.fm> <YwwCi2uvq%2B9TKsFQ@void.f-m.fm> <20220829040424.wdunjidqvprd76xn@shelly.nomadlogic.org> <ca750e27-af02-1d80-2be2-effed0d0bf8e@andyit.com.au> <CAN6yY1vrHUdRLpZW0a_uSv3kUhavr2ukk=j9M_CKP8MYwws1bA@mail.gmail.com> <Yw8yyRUqx/7cCx8J@void.f-m.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000006be9ae05e7bfcc24 Content-Type: text/plain; charset="UTF-8" On Wed, Aug 31, 2022 at 3:07 AM void <void@f-m.fm> wrote: > On Mon, Aug 29, 2022 at 10:23:31AM -0700, Kevin Oberman wrote: > > I think the issue is that the periodic script does not include the > > timestamps in the kernel log messages. > > This is exactly it. > Then you need to looks at /etc/periodic/security/700.kernelmsg and /etc/periodic/security/security.functions. I believe that check_diff in hte latter file strips the timestamp. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --0000000000006be9ae05e7bfcc24 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:tahoma,sans-serif;font-size:small"><span class=3D"gmail_default" s= tyle=3D"font-family:tahoma,sans-serif;font-size:small"></span>On Wed, Aug 3= 1, 2022 at 3:07 AM void <<a href=3D"mailto:void@f-m.fm">void@f-m.fm</a>&= gt; wrote:<br></div></div><div class=3D"gmail_quote"><blockquote class=3D"g= mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex">On Mon, Aug 29, 2022 at 10:23:31AM -0700, Kevin= Oberman wrote:<br> > I think the issue is that the periodic script does not include the<br> > timestamps in the kernel log messages. <br> <br> This is exactly it.<br></blockquote><div><br></div><div style=3D"font-famil= y:tahoma,sans-serif;font-size:small" class=3D"gmail_default">Then you need = to looks at /etc/periodic/security/700.kernelmsg and /etc/periodic/security= /security.functions. I believe that check_diff in hte latter file strips th= e timestamp.<br></div></div>-- <br><div dir=3D"ltr" class=3D"gmail_signatur= e"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div d= ir=3D"ltr">Kevin Oberman, Part time kid herder and retired Network Engineer= <br>E-mail: <a href=3D"mailto:rkoberman@gmail.com" target=3D"_blank">rkober= man@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318= AB39EF1B055683</div></div></div></div></div></div></div></div></div> --0000000000006be9ae05e7bfcc24--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1th89btgQUQVDotcoVXnCyh_8PiroTxn72NEGbocCfD=A>