|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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. |
![]() |
| Viewing: Web Development Archives > Mailing Lists > BSD > Mark messages in /var/log/message |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|