LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-07-2005, 05:12 PM   #1
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
syslog: using logger (please help test this)


Hi,

I'm simply trying to log a simple message to /var/log/messages

I have *.info going to /var/log/messages in my /etc/syslog.conf file.

when I do

#> logger -p security.info "This message should go to messages log"

Nothing happens.

However,

I do have a script that does this.

#!/bin/bash

tail -f /var/log/radius.log | logger -p security.info &

which works on one machine and not the other. Which is confusing me...logger only works
in a script on one of my machines??? Both are RH9.0

Can anyone try running

#> logger -p security.info "This message should go to messages log"

to see if a message shows up in /var/log/messages
(i prefer RH9.0 but, any dist will do)

Thanks,
 
Old 01-07-2005, 06:26 PM   #2
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Original Poster
Rep: Reputation: 30
Ok I had to restart the syslog daemon to get it working again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Syslog logger facility problem tuxster SUSE / openSUSE 0 01-02-2005 04:17 PM
Syslog logger facility problem tuxster Linux - General 0 12-25-2004 12:29 PM
Looking for a shell logger CroMagnon Linux - Software 1 09-13-2004 09:40 PM
personalised logger - need some help chrisfirestar Linux - General 1 03-05-2004 01:50 AM
system logger fails when restarting syslog tpau Linux - General 1 10-21-2003 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration