On Wed, Jun 25, 2008 at 10:33:12PM -0500, Shawn Walker wrote:

> depot.py -l errors=destination -l access=destination
> 
> Where destination is stderr, stdout, or a filename (including /dev/null).

I assume that those are the tokens "stderr" and "stdout", right?  Any other
tokens would be treated as filenames relative to the current directory?

I'd also have the token "none" as a nod to Windows portability, though in
this case, it'd just not log, rather than log to a sink.  Or treat "-l
errors=" in the same way.

> Two new SMF properties would be added: pkg/access_log and pkg/error_log,
> respectively.

We'll have more log streams later, right?  Perhaps pkg/log/<stream>?  I
dunno if there are any best practices with regards to deep property name
hierarchies.

I don't know if we care about other kinds of log targets, such as syslog,
or sockets, or whatnot.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to