maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   syslog on the n900 (https://talk.maemo.org/showthread.php?t=64038)

VulcanRidr 2010-10-19 15:03

syslog on the n900
 
I have had a few instances over the past few weeks in which it would be a good thing to have logging enabled:
  • I had some image file which was causing my change background menu item on the desktop not to appear;
  • This morning, when I switched over from the FM transmitter to bluetooth playing an ogg file, the machine shut down.

I see klogd and sysklogd in the repos from the command line. Has anyone set up or considered setting up logging? I can apt-get install it, and set up a basic syslog.conf, but is there a downside to it? I know these are solid-state drives, but the number of writes have gone up enough that I think that they will last beyond the effective usefulness of the device. And in case I'm wrong, I can place it on the SD card, which is fairly inexpensive to replace.

Anyone have thoughts on this?

Thanks,
--vr

MohammadAG 2010-10-19 15:07

Re: syslog on the n900
 
I have syslog installed, only downside I see would be eating up root space, unless you make it log somewhere else.
Not sure about writes, others know more.

VulcanRidr 2010-10-19 15:46

Re: syslog on the n900
 
Quote:

Originally Posted by MohammadAG (Post 845091)
I have syslog installed, only downside I see would be eating up root space, unless you make it log somewhere else.
Not sure about writes, others know more.

Thanks, MohammedAG. I had planned on having only a minimal set of files. Even on my Debian workstation, /var/log is only taking 133MB, and I was planning to write logs to the mmc card, which currently has almost 9GB free.

stlpaul 2010-10-19 15:56

Re: syslog on the n900
 
http://wiki.maemo.org/Documentation/.../maemo5/syslog

Enabling/disabling logging from some apps requires you to change logging level settings in gconf

atilla 2010-10-19 16:46

Re: syslog on the n900
 
guys where is the syslog file which shows me my log?
have forgot it.......

Megaltariak 2010-10-19 16:51

Re: syslog on the n900
 
It is in /var/log/syslog and /var/log/syslog.old

VulcanRidr 2010-10-19 16:52

Re: syslog on the n900
 
Quote:

Originally Posted by atilla (Post 845209)
guys where is the syslog file which shows me my log?
have forgot it.......

You mean the one that configures logging? (/etc/syslog.conf) or the log files? (Those default to /var/log, e.g. /var/log/syslog, but it depends on how you have syslog.conf configured.)

int_ua 2012-12-21 21:48

Re: syslog on the n900
 
Quote:

Originally Posted by MohammadAG (Post 845091)
unless you make it log somewhere else.

How can we do that?

Hurrian 2012-12-22 04:46

Re: syslog on the n900
 
Quote:

Originally Posted by int_ua (Post 1306710)
How can we do that?

"mount -o bind $TARGETDIR /var/log" ?


All times are GMT. The time now is 06:36.

vBulletin® Version 3.8.8