[X-Unix] A (seemingly) simple question...
Eric Crist
ecrist at secure-computing.net
Tue May 24 18:12:38 PDT 2011
FWIW, logs are typically stored in /var. This holds true, even on Macs, though with a twist. If you look at your system root ('/' on a console), you'll note that there exists a symlink to /private/var. There's a few other similar juicy bits, as well:
lrwxr-xr-x@ 1 root wheel 11B Apr 17 2010 etc -> private/etc
dr-xr-xr-x 2 root wheel 1B May 2 07:54 home
-rw-r--r--@ 1 root wheel 18M Jan 29 17:18 mach_kernel
dr-xr-xr-x 2 root wheel 1B May 2 07:54 net
drwxr-xr-x@ 6 root wheel 204B Apr 17 2010 private
drwxr-xr-x@ 67 root wheel 2.2K Mar 23 10:34 sbin
lrwxr-xr-x@ 1 root wheel 11B Apr 17 2010 tmp -> private/tmp
drwxr-xr-x@ 14 root wheel 476B Nov 26 20:19 usr
lrwxr-xr-x@ 1 root wheel 11B Apr 17 2010 var -> private/var
Section 7 of the system manual for hier will shed some light. (man 7 hier).
Hope this helps.
Eric
On May 24, 2011, at 16:34:24, Michael Burton wrote:
> On May 24, 2011, at 4:03 PM, William H. Magill wrote:
>
>> 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 think you're probably looking for
> /private/var/log/system.log .
>
> I found that by opening the Console application, then using
> lsof -c Console
> to see what files it had open.
>
> --
> Michael Burton michaelburton at brainrow.com (614) 263-7948
> Home Page (rarely updated) : http://pathetic.brainrow.com/
> Blog (occasionally updated): http://brainrow.com/
>
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>
More information about the X-Unix
mailing list