Solved

syslog doesn't log

Posted on 1998-05-12
3
215 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix, date minus 1, 2 or 3 days (last working day) 11 66
unix scripting question 1 104
FTP on FreeBSD server 2 140
How to Insert a File Using Text Editor 9 92
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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.:

809 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