-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El domingo 06 de julio del 2008 a las 18:13:14 -0300,
Otto Moerbeek escribis:

>> > Today, after a cut of electrical provision, I wanted to make a
>> > comparison of 'messages' log of Debian against the one of OpenBSD
>> > to isolate in what moment was the cut but the 'messages' log of
>> > OpenBSD doesn't put marks of timestamp and I had understood that to
>> > put this marks is the default behavior in all Unix systems. How I
>> > can configure it in OpenBSD?
 
>> Check man syslog.conf; mark is a separate facility, you'll need to
>> add mark.info to the appropiate line, e.g.:
>> 
>> change
>> 
>> kern.debug;syslog,user.info                             /var/log/messages
>> 
>> to
>> 
>> kern.debug;syslog,user.info,mark,info                  /var/log/messages

> err, that should be mark.info

Perfect!

According to I see, is necessary to force this facility in OpenBSD to
use it, but in Debian GNU/Linux I do not see that it is specified in
syslog.conf neither in /etc/init.d/sysklogd nor in /etc/default/syslogd.
Apparently in GNU/Linux it is the other way around, to remove would be
necessary it to force it in /etc/default/syslogd putting "-m 0" in
variable SYSLOGD. Interesting... :-)

Thanks for your speedy reply, Otto.

Thanks also for your reply, Chris. I see that this only arrived to my
from personal email but not to the mailing list/newsgroup. Check it,
please. I hope that with "this is openbsd - we have manpages that are
useful" you have not meant that manpages of GNU/Linux is not useful. We
must be brothers :-D

Regards,
Daniel
iD8DBQFIceIaZpa/GxTmHTcRAoOdAJ4n3NjSeVJbZpJng3Q2+FoaV2yfiQCbBwcw
TrhwgfgP29s+tn4O+hjiZuQ=
=AEqr
-----END PGP SIGNATURE-----

Reply via email to