newsyslogd - logfile turned over - no longer logging to system.log

I can not see any logfile entries in /var/log/system.log.
The file only contains:

ajung@suxmac:/etc less /var/log/system.log
Jun 22 00:00:34 suxmac newsyslog[33026]: logfile turned over


Any idea how to re-enable logging?

Mac OS X (10.5)

Posted on Jun 29, 2008 1:38 AM

Reply
7 replies

Jun 30, 2008 12:10 AM in response to Andreas Jung1

logger uses syslogd to write its message, so it's expected that it didn't work in your case. I'm not sure why it isn't starting, though. If you run this set of commands, does that help:

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist

(wait a few seconds)

sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist

(then check to see if it's running with ps or whatever).

Jun 30, 2008 12:07 PM in response to Andreas Jung1

That issue might be because of a corrupt ASL database. That db lives in /var/log and is called asl.db. If you stop syslogd, remove (or move to a temporary location, in case this tip doesn't work) the /var/log/asl.db file, then restart syslogd, the cpu usage should go back to normal. Use the launchctl commands I provided above to start and stop syslogd.

You will need to use sudo to move or remove the asl.db file as well...

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

newsyslogd - logfile turned over - no longer logging to system.log

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.