[rust-dev] file logger missing?

Sean McArthur smcarthur at mozilla.com
Tue Jul 22 08:42:59 PDT 2014


It does not exist in tree. So far, liblog has the features used by rustc
and stdlib, and naught else. A papercut with liblog is that you need to
remember to set_logger inside every task you spawn, which currently just
means it's easier to keep the default.
On Jul 22, 2014 8:38 AM, "Diggory Hardy" <lists at dhardy.name> wrote:

> For some uses, yes. But I guess log rotation should also be a feature.
>
> My first point is why is there a seemingly complex logging framework
> without
> this? Does it already exist somewhere?
>
>
> On Tuesday 22 Jul 2014 08:27:47 Steven Fackler wrote:
> > Is a logger that synchronously writes to the filesystem and doesn't offer
> > any type of rotation more useful than redirecting stderr?
> >
> > Steven Fackler
> >
> > On Tue, Jul 22, 2014 at 8:11 AM, Diggory Hardy <lists at dhardy.name>
> wrote:
> > > Are you saying that liblog should be moved too? Because I don't see
> why a
> > > complex logging framework should be separated from a simple log-to-file
> > > implementation (36 lines in my case, including doc, use statements,
> etc).
> > >
> > > On Tuesday 22 Jul 2014 10:49:59 Steve Klabnik wrote:
> > > > I think in general, especially now that Cargo exists, we don't really
> > > > need to add a lot more to the tree. Publish a package for it instead!
> > >
> > > _______________________________________________
> > > Rust-dev mailing list
> > > Rust-dev at mozilla.org
> > > https://mail.mozilla.org/listinfo/rust-dev
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140722/c82e3523/attachment.html>


More information about the Rust-dev mailing list