Logger is the command.
Sagar
-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Bauer, Bobby (NIH/CIT) [E]
Sent: Monday, July 01, 2013 2:00 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Putting messages in dmesg or /var/log/messages
Is there some way I
On Mon, Jul 01, 2013 at 06:05:47PM +, Bauer, Bobby (NIH/CIT) [E] wrote:
> I did not know of the logger command. The man page and a quick
> test. Looks like just what we need, thanks
If either is available on your distro, syslog-ng and rsyslogd both
include a file agent that can be configured
> Logger from rc.local seems to be working put I'll look into an init script.
> Never written one of those. Time to get out the books.
It's pretty easy. Copy one of the existing ones (nfsd is a good one to start
with -- it has dependencies already, so you can see how they work).
For what you wan
> The dependency relationships are traditionally in comments at the start of
> each INIT script. 'systemd' changes the game. I won't waste time
> discussing that unless you are already suffering under its weight.
There are easy tools for scarfing up init script dependencies into systemd.
-
Troth [mailto:r...@casita.net]
Sent: Monday, July 01, 2013 2:47 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Putting messages in dmesg or /var/log/messages
Yeah ... 'logger' is pretty handy. Is available on other systems too.
Following what David said, you will want the SYSLOG service up
hesda, MD 20892-5628
> 301-594-7474
>
>
> -Original Message-
> From: Veencamp, Jonathon D. [mailto:jdveenc...@fedins.com]
> Sent: Monday, July 01, 2013 2:02 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Putting messages in dmesg or /var/log/messages
>
> Have you
27;t use syslog until it's up.
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Bauer, Bobby (NIH/CIT) [E]
> Sent: Monday, July 01, 2013 2:00 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Putting messages in dmesg or /var/log
...@fedins.com]
Sent: Monday, July 01, 2013 2:02 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Putting messages in dmesg or /var/log/messages
Have you looked at the logger command? It allows user use of the syslog service
with control over severity and facility of the messages.
Good luck!
Jon
01, 2013 1:00 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Putting messages in dmesg or /var/log/messages
Is there some way I can put messages in either dmesg or /var/log/messages. At
boot time we run a script from rc.local and I'd like to record it. I tried an
echo command, that didn't
Is there some way I can put messages in either dmesg or /var/log/messages. At
boot time we run a script from rc.local and I'd like to record it. I tried an
echo command, that didn't work. Any suggestions would be appreciated.
Thanks
Bobby Bauer
Center for Information Technology
National Institut
10 matches
Mail list logo