[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solaris log files





On Sat, 20 Feb 1999, Mark R. Lindsey wrote:

> Forrest said:
> : One that took me awhile to find when I first started was the /var/cron/log
> : file.  This can be helpful if you use a lot of cron jobs.
> 
> This raises an interesting philosophical issue related to the organization
> of the filesystem tree; in this case,
> 	* Does it make more sense to keep all of the files related to cron together?
> 	* Does it make more sense to keep all of the log files together?
> 
>

For the network loghosts I usually put all the logs into a /logs directory
(which is also it's own partition).  On the individual machines I usually
put links to all the other logs in to /usr/adm since that's the directory
I'm used to going to.  Along with that, one of the first things I do when
setting up a new machine is linking /usr/adm to /var/adm.  On the flip
side though I think I might have a tendance to overuse links a bit, so
when I'm on a machine I haven't "customized" I end up hunting around for
things ;-)

So I guess as far as the above goes, I vote for the 2nd option.  It's much
easier to go into one directory and have all the logs there (or atleast
links to them) than it is to go to the individual directories for the
program/service.

IMHO
Forrest