Re: [android-developers] remove logs after market

2012-01-20 Thread Leno Britto
I don't get it, what logs? the ones you created for logcat?
yeah, you can always remove or comment them, but why would you do that? the 
user won't see those unless he plugs the phone to the pc and if he does, so 
what? those messages are meant for troubleshooting rather then testing things 
out, isn't that how you're you using them? because if you are, what's the 
problem with leaving them there?

Leno Britto - http://lenobj.com
Twitter: https://twitter.com/#!/lenobj

On 17/01/2012, at 15:11, TreKing wrote:

 On Tue, Jan 17, 2012 at 6:29 AM, bo yada...@gmail.com wrote:
 i want to know how to remove logs before release in to the market
 
 please any body help on this
 
 Comment them out.
 
 -
 TreKing - Chicago transit tracking app for Android-powered devices
 
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] remove logs after market

2012-01-20 Thread TreKing
On Tue, Jan 17, 2012 at 12:31 PM, Leno Britto len...@gmail.com wrote:

 but why would you do that? the user won't see those unless he plugs the
 phone to the pc and if he does, so what? those messages are meant for
 troubleshooting rather then testing things out, isn't that how you're you
 using them? because if you are, what's the problem with leaving them there?


1 - Excessive logging slows your app down.
2 - Many apps have been known to leave inappropriate contents in their logs
(keys, passwords, etc).
3 - For developers, it's quite annoying to debug one's own app while the
LogCat is flooded with crap from other apps that shouldn't be there in
release.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] remove logs after market

2012-01-20 Thread Kristopher Micinski
I agree with TreKing:  it's very bad practice to leave your verbose
logging in after development.  It it still perhaps necessary to leave
some logs in, but most of the chatty ones should be stripped from your
app, as they'll be really annoying to other people, and just get in
the way (and it's just unprofessional).  Point #1 can be solved if you
write a utility class in your app like Logger, that does the same
thing as Log, but you can then throw out the appropriate methods in
production.  Point #2 has been solved (at least in theory) by
information flow analysis, but I don't think there's a large scale
production version of this.  Point 3 can (if you find it annoying) be
solved by doing a logcat | grep com.myapp or something similar,
though maybe that won't quite work for everything you need.

kris

On Fri, Jan 20, 2012 at 9:07 AM, TreKing treking...@gmail.com wrote:
 On Tue, Jan 17, 2012 at 12:31 PM, Leno Britto len...@gmail.com wrote:

 but why would you do that? the user won't see those unless he plugs the
 phone to the pc and if he does, so what? those messages are meant for
 troubleshooting rather then testing things out, isn't that how you're you
 using them? because if you are, what's the problem with leaving them there?


 1 - Excessive logging slows your app down.
 2 - Many apps have been known to leave inappropriate contents in their logs
 (keys, passwords, etc).
 3 - For developers, it's quite annoying to debug one's own app while the
 LogCat is flooded with crap from other apps that shouldn't be there in
 release.


 -
 TreKing - Chicago transit tracking app for Android-powered devices

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] remove logs after market

2012-01-18 Thread unicus unicus
Create static method which will print log and before release of application
just comment that method.


-- 
More info,
http://androidbasic-answer.blogspot.com/


On Tue, Jan 17, 2012 at 11:41 PM, TreKing treking...@gmail.com wrote:

 On Tue, Jan 17, 2012 at 6:29 AM, bo yada...@gmail.com wrote:

 i want to know how to remove logs before release in to the market

 please any body help on this


 Comment them out.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] remove logs after market

2012-01-17 Thread booooooooooooo
HI All

i want to know how to remove logs before release in to the market

please any body help on this


Thanksregards
vinod

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] remove logs after market

2012-01-17 Thread TreKing
On Tue, Jan 17, 2012 at 6:29 AM, bo yada...@gmail.com wrote:

 i want to know how to remove logs before release in to the market

 please any body help on this


Comment them out.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en