[emstar-design] Adding logfile snapshot feature

Vinayak Naik naik at cse.ohio-state.edu
Fri Aug 5 10:23:59 PDT 2005



On Thu, 4 Aug 2005, Nithya Ramanathan wrote:

>
> > Why not have processes write log data per default to a ring buffer and
> > then when desired, redirect that data to a file. That way you have a
> > nice, fixed memory buffer for logs, and you can easily use some
> > mechanism such as a socket (or fusd for that matter) to access it....
> >
>
>
> this is actually what we do right now in emstar :)
> however, what the original request was based on the need to capture
> specific snapshot. for example, i was thinking about eric using the
> web-server, and if he was experiencing a bug in a feature, i thought it
> would be convenient if he could do: "start snapshot", try out whatever
> he's trying to do, and then "stop snapshot", and then have some easy
> way for him to send us all of the logs he captured.
I was wondering whether anyone has thought of implementing a service that
will collect log from all the deployed devices at a base station. In
ExScal, we collected the log from all the stargates by setting up a 1-hop
network. We used to mount a 8dbi antenna with max transmission  power (to
send commands) and max sensitivity (to receive logs) over a 6ft tripod
over a 3ft high ATV :-) Sometimes, we even drove this ATV around to get
better connectivity. For mote world, due to large scale and low range we
couldn't devise any such hack :-(

As we know that log is a valuable way to get more visibility into systems
of embedded devices. But due to large scale and harsh deployment
environment, it has become hard to retrieve log individually from nodes.
I think, a scheduled log retrieval service that works over multi-hop
would be really helpful.

> and maybe the "start
> snapshot" also ups the log-level temporarily...
>
>
> > Just a thought.
> >
> > --
> > John Ewart
> > PGP: 0xF820E604
> > "Quis custodiet ipsos custodes?"
> >
> > _______________________________________________
> > emstar-design mailing list
> > emstar-design at cens.ucla.edu
> > http://www.cens.ucla.edu/mailman/listinfo/emstar-design
> >
> _______________________________________________
> emstar-design mailing list
> emstar-design at cens.ucla.edu
> http://www.cens.ucla.edu/mailman/listinfo/emstar-design
>



More information about the emstar-design mailing list