Reading apache, mysql, etc. logs in Console.app automatically

Chris Janton face at CentosPrime.COM
Mon Jun 2 08:53:56 PDT 2008


On 2008-06-02 , at 07:47 , Lorin Rivers wrote:

> Is there a way to have Console load the logs from /opt/local/apache2/ 
> logs
> automatically? Likewise, mysql, etc? I know I can load them via the  
> open
> dialog and so on, but it would be nice to not have to do that step


Well, don't know about automatic opening, but you can do this

	cd ~/Library/Logs
	ln -s /opt/local/apache2/logs ./Apache2Logs

at which point the Apache2 logs show up in the "LOG FILES" hierarchy.


8)
----------------------------------
Chris Janton  - face at CentosPrime dot COM
Netminder for Opus1.COM




More information about the macports-users mailing list