[aerogear-dev] Android testing: Show logcat via Logger or System.out/err?

Karel Piwko kpiwko at redhat.com
Fri Jul 12 04:19:06 EDT 2013


On Thu, 11 Jul 2013 14:59:59 -0400
Summers Pittman <supittma at redhat.com> wrote:

> Logging through the Logger is generally better practice.
> 
> Though I am wondering why the Logger output is so ugly.

I'd say that the reason is that logcat is external process consumed by Drodium,
so the logger logs per line, not per logcat message. Moreover, default JUL
settings logs tons of unnecessary stuff for process redirect purposes like
logger name, timestamp, etc.

> 
> On 07/11/2013 10:24 AM, TadeasKriz wrote:
> > Hey guys!
> >
> > I'd like to hear your opinions on one decision I'm about to make. I've 
> > been working on implementation of logcat into arquillian-droidium and 
> > now I'm trying to decide, which kind of logging should be enabled by 
> > default. Whether it should be logging though Logger or through 
> > System.out (or disabled completely by default). These two logs are 
> > here: https://gist.github.com/TadeasKriz/e7c91f3e7e230e596f20
> >
> >
> > _______________________________________________
> > aerogear-dev mailing list
> > aerogear-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> 



More information about the aerogear-dev mailing list