[X-Unix] A (seemingly) simple question...

William H. Magill magill at mcgillsociety.org
Tue May 24 13:03:09 PDT 2011


I was working on debugging a problem (not with macports) and discovered something I could not find...

Where is the "console log" file now?

The file(s) which "Console.app" reports as "All Messages" and "Console Messages."

At one time there was an actual file called "console.log," however find does not find it anymore.
	(sudo  find . -name \*console.log\* -print )

I visited all of the "usual suspects" 

/private/var/log
/private/tmp/
/private/tmp/
/Library/logs

And tried to find something at developer.apple.com but trying to guess where/what apple did to logging is
not getting me anywhere.  

I'm guessing that the ASL (Apple System Log facility) is the answer. [ man asl(3)]
That man page implies that all of the old syslog files are still supported "for backwards compatibility."
However, that does not appear to be true for the Console log file.

And, "syslog -C" reports entirely different information compared to the console.app.



T.T.F.N.
William H. Magill
# iMac6,1 Core 2 Duo [2.16GHz - 3 GB 667] OS X 10.6.7
# MacBook Pro4.1 Core 2 Duo [2.5GHz - 4GB 667] OS X 10.6.7
# Mac mini Core Duo [1.66 Ghz - 2 GB 667]OS X 10.6.7
# Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.4.11 
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a 
# XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3
# XP1000 [Alpha 21264-A (EV6-7) - 256 meg] FreeBSD 5.3
magill at mcgillsociety.org
magill at me.com
whmagill at gmail.com










More information about the X-Unix mailing list