LinuxQuestions.org
Review your favorite Linux distribution.
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 08-05-2003, 09:31 AM   #1
prisam
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Question logging information into syslog


Hi!
How do I log information to the syslog files which are generated by a daemon written by me in shell script.How do I append information generated by my daemon in regular intervals into the various logfiles in the syslog.
 
Old 08-05-2003, 09:58 AM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
The logger command should give you the functionality that you need. Just be sure to modify the syslog configuration file to log that appropriate facility and priority.
 
  


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
Logging firewall with syslog-ng? RecoilUK Linux - Security 1 08-06-2005 04:28 PM
Syslog logging Cron logins rhoekstra Fedora 4 02-17-2005 02:45 AM
Syslog level information RajaRC Linux - Networking 1 01-11-2005 04:14 AM
syslog running but not logging tantric Linux - Security 1 10-15-2003 07:24 AM
Kernel logging failure <<Syslog>> RKris Linux - General 1 09-18-2002 06:40 PM

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

All times are GMT -5. The time now is 06:35 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