Solved

syslog doesn't log

Posted on 1998-05-12
3
212 Views
Last Modified: 2010-04-21
One line of syslog.conf is like this:
*.err;kern.debug;daemon.notice;mail.crit;user.none      /var/adm/messages
My problem is:
1. If I do a    logger -p daemon.notice "test message"
I will get a "test message" in /var/adm/messages
2. If I do a cd /tools/abc ( /tools is an automount point and abc doesn't exist under /tools ) I didn't get any error message which this message would show up before and besides some other machine's messages file will imediately show the error messages like "automountd[135]: mount of /tools/abc failed" .

I tried to cycle the syslogd many times but didn't help at all.

Thanks for the help.
Emay
0
Comment
Question by:Emay
3 Comments
 
LVL 1

Expert Comment

by:OM
ID: 2006766
Did you try
daemon.* /var/adm/messages
?
0
 
LVL 3

Accepted Solution

by:
braveheart earned 80 total points
ID: 2006767
I would have thought that "user.none" in your config file would disable messages from cd, although I may be wrong. Do you get the same results when using "user.err", "user.warning" and "user.notice". Mind you, this is bound to generate far more messages than you will usually want.
0
 

Author Comment

by:Emay
ID: 2006768
No, it did not work! Thanks anyway.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now