Reply
Thread Tools
Posts: 473 | Thanked: 141 times | Joined on Jan 2009 @ Virginia, USA
#1
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's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#2
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.
 
Posts: 473 | Thanked: 141 times | Joined on Jan 2009 @ Virginia, USA
#3
Originally Posted by MohammadAG View Post
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.
 
Posts: 1,141 | Thanked: 781 times | Joined on Dec 2009 @ Magical Unicorn Land
#4
http://wiki.maemo.org/Documentation/.../maemo5/syslog

Enabling/disabling logging from some apps requires you to change logging level settings in gconf
 
atilla's Avatar
Posts: 1,210 | Thanked: 597 times | Joined on Apr 2010 @ hamburg,germany
#5
guys where is the syslog file which shows me my log?
have forgot it.......
__________________


Nobody likes us but we dont care....
 
Posts: 346 | Thanked: 271 times | Joined on Jan 2010
#6
It is in /var/log/syslog and /var/log/syslog.old
 

The Following User Says Thank You to Megaltariak For This Useful Post:
Posts: 473 | Thanked: 141 times | Joined on Jan 2009 @ Virginia, USA
#7
Originally Posted by atilla View Post
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.)
 

The Following User Says Thank You to VulcanRidr For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#8
Originally Posted by MohammadAG View Post
unless you make it log somewhere else.
How can we do that?
 
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#9
Originally Posted by int_ua View Post
How can we do that?
"mount -o bind $TARGETDIR /var/log" ?
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:23.