On Jul 31, 2010, at 7:07 PM, William H. Magill wrote:
On Jul 31, 2010, at 6:53 PM, Ross Bogue wrote:
On Jul 31, 2010, at 5:27 PM, William H. Magill wrote:
Is there a way, under Snow Leopard (10.6) to add an additional
"path" to console.app so that it will display logs there
automatically in the "log list" pane?
Under about 10.1, there was a "defaults" write ...
defaults write com.apple.Console LogFolderPaths -array
'/opt/local/var/log' '/var/log' ...
The current list for files appears to be:
~/Library/Log
/Library/Log
/private/var/log
Have you tried editing Console.app/Contents/Resources/Defaults.plist?
Hmmm... nope... I don't see such a file on my system.
(In fact, that is what I have been looking for.)
The only thing which I have found is under my own userid:
~/Library/Preferences/com.apple.Console.plist and
~/Library/Preferences/com.apple.Console.LSSharedFileList.plist
Neither of which appears to contain a path type entry.
And I don't find any sort of Console.plist under /Library
Hmmmm. You're right. I was looking at a 10.3.9 system. In 10.6
those strings are hardcoded in the binary
/Applications/Utilities/Console.app/Contents/MacOS/Console.
Hmmm again. I see the string "~/Library/Logs/" in the binary. I
wonder if you can create symlinks in that directory pointing to the
logfiles you want?
Ross
T.T.F.N.
William H. Magill
# Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.4.11
# iMac6,1 Core 2 Duo [2.16GHz - 3 GB 667] OS X 10.6.4
# MacBook Pro4.1 Core 2 Duo [2.5GHz - 4GB 667] OS X 10.6.4
# Mac mini Core Duo [1.66 Ghz - 2 GB 667]OS X 10.6.4
# 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
[email protected]
[email protected]
[email protected]
_______________________________________________
MacOSX-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-admin
_______________________________________________
MacOSX-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-admin