LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2011, 01:22 PM   #1
5883
Member
 
Registered: Aug 2004
Posts: 173

Rep: Reputation: 0
syslog.conf doesn't work for kernel 2.6.38.8 ?


1. under /etc, there's no syslog.conf
2. created /etc/syslog.conf which has only 1 line,
user.*<tab><tab>/var/log/myfolder
3. write a c code which calls syslog()
4. run the above code
5. in /var/log/messages i can see
user.info myprog: hello world
6. nothing in /var/log/myfolder

i'm logining as root.

Any suggestions ?
 
Old 11-01-2011, 02:53 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
What does 2.6.38.8 have to do with it?

Much more importantly, what distro are you running, and what syslog program is it using? syslog? syslog-ng? rsyslog? Only the first one is configured by /etc/syslog.conf.
 
Old 11-01-2011, 05:51 PM   #3
5883
Member
 
Registered: Aug 2004
Posts: 173

Original Poster
Rep: Reputation: 0
This is a pure kernel for embedded system, /sbin/syslogd is the only one i can find.
thanks !


Quote:
Originally Posted by AlucardZero View Post
What does 2.6.38.8 have to do with it?

Much more importantly, what distro are you running, and what syslog program is it using? syslog? syslog-ng? rsyslog? Only the first one is configured by /etc/syslog.conf.
 
  


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
Resolv.conf doesn't work with secondary DNS Benso37 Linux - Networking 1 01-11-2010 12:15 PM
3 keyboard layouts in xorg.conf doesn't work VMM Linux - Newbie 3 11-10-2009 06:43 PM
proftpd.conf UserOwner doesn't work yang_wayne Linux - Newbie 1 01-16-2009 04:21 PM
proftpd.conf file doesn't work yang_wayne Linux - Newbie 9 01-16-2009 10:12 AM
Syslog.conf doesn't exist gergaholic Fedora 4 11-02-2007 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration