2008/6/26 Danek Duvall <[EMAIL PROTECTED]>:
> 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?

Correct.

> 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.

Noted.

>> 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.

The proposed targets essentially match cherrypy's own.

This would be a simple start to mainly just allow control over where
the existing output goes.

cherrypy currently sends everything through a special access_log
object for access, and everything else to error_log.

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

Reply via email to