Hi Folks,
I'm using M5 version of the SDK (rc15 x86), Fedora 7.
Basically, I'm trying to have Log4J (1.2.15) working in Android environment.
I've redirected STDOUT/STDERR and I'm getting tons of these messages
when running logcat:
W/dalvikvm( 739): read stdout: (17,512) failed (0): Unknown error: 0
W/dalvikvm( 739): read stdout: (17,512) failed (0): Unknown error: 0
I've pushed the following file into Android's /tmp/
-------------- START LOG4J conf -----------------------------
# STDOUT appender
log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
log4j.appender.STDOUT.layout.ConversionPattern=%d %p [%t] %C{1} - %m\n
# use the STDOUT appender. set the level to INFO.
log4j.Logger.com.company-name.android.fs.Log4JDemo=INFO, STDOUT
-------------- END LOG4J conf -----------------------------
I have a small file system browser installed in Android and I can see
that the file is in place.
The "info" Log4J statements don't seem to show up in the log (using adb logcat).
Android's logging framework messages do dhow up w/o any issues.
Can someone point out what I've possibly missed out there? Any help is
appreciated.
Thanks in advance,
--
- Kobi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---