log-collect / log-send
giannisgalanis at gmail.com
Tue Oct 30 06:24:24 EDT 2007
I have been working on something similar. It is a console script that gather
networks related logs, and will be available in the next joyride.
At the moment it includes:
and the following info:
ips of all interfaces
salut or gabble
The gzipped tar is ~20kb which is pretty low.
However, other tests(for specific activites for ex.) will require other
I believe that a complete log activity should have a list of options like:
...so the user can choose according to the problem
also, the activity should be able to enable All Logs, from the .xinitrc,
or perhaps the full kernel logs.
I was planning to add the above features in my script, but a sugar activity
is better than a console script.
Since we are working on the same thing we can use each other's help, and
create a single application.
On 10/29/07, Pascal Scheffers <pascal at scheffers.net> wrote:
> I've created a rough-cut log-collector, it's in d.l.o/git/project/log-
> For now, it just outputs some system info, tell me what's missing or
> what would be interesting to include?
> I don't know yet how to list installed activities... would that be
> just `ls /usr/share/activities/`? Or is there a package list?
> And then the main purpose: sending logs to OLPC, either using http-
> post or email or usb-stick or... but what logs should I collect? Just
> all of them? ~/.sugar/default/logs/* and /var/log/* ? Or should it be
> more selective?
> And some information from the journal, perhaps?
> What about privacy/sensitive information? Will there be any in the
> logs or system info?
> - Pascal
> Current log-activity.py output:
> bios-version: Q2C18
> uptime: 434169.21 430235.72
> wireless_mac: 00-17-C4-05-2A-58
> uuid: 8A401F4E-E312-47F9-96C8-A488C99BDA2F
> localization: ??
> kernel_version: Linux version 2.6.22-20071018.1.olpc.d4414541d2be66a
> (dilinger at fc6.laptop.org) (gcc version 4.1.1 20070105 (Red Hat
> 4.1.1-51)) #1 PREEMPT Thu Oct 18 11:44:14 EDT 2007
> diskfree: 716 MB
> laptop-info-version: 0.1
> memfree: 63496 kB
> serial-number: SHF7250025C
> disksize: 1024 MB
> keyboard: ??-??-??
> olpc_build: OLPC build joyride 58 (stream joyride; variant devel_jffs2)
> country: USA
> board-revision: B4
> motherboard-number: QTFLCA72400063
> Devel mailing list
> Devel at lists.laptop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel