BSD
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists BSD

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 6th, 2008, 05:20 PM
Daniel Bareiro
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Mark messages in /var/log/message

PGP SIGNED MESSAGE
Hash: SHA1

Hello to all!

This is my first post to the mailing list/newsgroup. I'm user of Debian
GNU/Linux and recently I installed BSD 4.3 in a machine AMD K6-II to
begin to be acquiring ability in its use, so I hope that with the aid of
you it can be solving the doubts that have not been able to solve by
myself.

Today, after a cut of electrical provision, I wanted to make a
comparison of 'messages' log of Debian against the one of BSD to
isolate in what moment was the cut but the 'messages' log of BSD
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 BSD?

Thanks in advance.

Regards,
Daniel

/1mL8V8ev6XddIz3FEnIZUY=
=KRmU
PGP SIGNATURE

Reply With Quote
  #2  
Old July 6th, 2008, 05:20 PM
Otto Moerbeek
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Mark messages in /var/log/message

Sun, Jul 06, 2008 at 05:43:51PM -0300, Daniel Bareiro wrote:

PGP SIGNED MESSAGE
Hash: SHA1

Hello to all!

This is my first post to the mailing list/newsgroup. I'm user of Debian
GNU/Linux and recently I installed BSD 4.3 in a machine AMD K6-II to
begin to be acquiring ability in its use, so I hope that with the aid of
you it can be solving the doubts that have not been able to solve by
myself.

Today, after a cut of electrical provision, I wanted to make a
comparison of 'messages' log of Debian against the one of BSD to
isolate in what moment was the cut but the 'messages' log of BSD
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 BSD?

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


Reply With Quote
  #3  
Old July 6th, 2008, 06:01 PM
Otto Moerbeek
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Mark messages in /var/log/message

Sun, Jul 06, 2008 at 10:59:02PM +0200, Moerbeek wrote:

Sun, Jul 06, 2008 at 05:43:51PM -0300, Daniel Bareiro wrote:

PGP SIGNED MESSAGE
Hash: SHA1

Hello to all!

This is my first post to the mailing list/newsgroup. I'm user of Debian
GNU/Linux and recently I installed BSD 4.3 in a machine AMD K6-II to
begin to be acquiring ability in its use, so I hope that with the aid of
you it can be solving the doubts that have not been able to solve by
myself.

Today, after a cut of electrical provision, I wanted to make a
comparison of 'messages' log of Debian against the one of BSD to
isolate in what moment was the cut but the 'messages' log of BSD
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 BSD?

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



Reply With Quote
  #4  
Old July 7th, 2008, 06:40 AM
Daniel Bareiro
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Mark messages in /var/log/message

PGP SIGNED MESSAGE
Hash: SHA1

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

>Today, after a cut of electrical provision, I wanted to make a
>comparison of 'messages' log of Debian against the one of BSD
>to isolate in what moment was the cut but the 'messages' log of
>BSD 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 BSD?


>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 BSD 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 SYSLGD. Interesting :-)

Thanks for your speedy reply,

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

TrhwgfgP29s++hjiZuQ=
=AEqr
PGP SIGNATURE

Reply With Quote
  #5  
Old July 7th, 2008, 01:02 PM
Eric Furman
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Mark messages in /var/log/message

Mon, 7 Jul 2008 06:30:04 -0300, "Daniel Bareiro"
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

Yes, they are brothers. With Linux being the sloppy lazy brother who
has no job and lives in mom's basement. :)
(but he is real popular!!)
And actually yes, they are not useful.
I've found Linux manpages to be mostly useless.

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists BSD > Mark messages in /var/log/message


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway