• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Where are log files kept?

rfburns59

Lurker
Where are the log files kept on this phone. I searched for /var/log, but there is not a /var directory. I have root.

I went looking because Kies Air never finds or resolves in the "logs" window. Just continual spinning wheel.
 
Welcome to the AndroidForums, rfburns59!

I've moved your thread over to the all-things-root area for you.

Any apps you've got installed will probably maintain their own logs in their own home filesystem space (/data/data/<package name>).

Android is a different animal as far as the /var/log directory goes: there's no syslogd daemon.

There are also kernel messages you can view (all yield the same output):

- on phone, at shell prompt: dmesg
- on phone, at shell prompt: cat /proc/dmesg
- via adb from your PC: adb shell dmesg
- via adb from your PC: adb shell cat /proc/kmsg

Also, don't forget about the logcat feature that will enable you to view the various log file messages that apps and processes record:

- on phone, at shell prompt: logcat
- via adb from your PC: adb logcat

See this link for more information: How to get kernel messages from Android? - BootLoader

Cheers and I hope that helps!

:)
 
I feel even better now. I've managed to install the bash shell and the nano editor. I doubt I'll ever be a vi man. ;)

Using ssh/telnet server and ftp server for the computer keyboard. I just don't have the patience to hammer at a phone keyboard using command line.
 
I feel even better now. I've managed to install the bash shell and the nano editor. I doubt I'll ever be a vi man. ;)

Using ssh/telnet server and ftp server for the computer keyboard. I just don't have the patience to hammer at a phone keyboard using command line.

I hear ya about typing on the phone--I do most of my stuff from a desktop via an adb shell :).

I do have a great affinity and affection for the vi editor...my fingers know it so well I often find myself trying those commands even when using MS/Word, etc. :p.
 
Back
Top Bottom