Delete logs before uploading to GooglePlay

I have read quite a few questions regarding "Deleting Logs" but none have answered my question. So, I must ask again here.

What is the influence of operators Log.d()

or Log.v()

or Syso()

in the application?

Let's say I have an application with 200 Syso()

statements or logs that I used for debugging while building the application. I didn't bother deleting them because (I'm new to android) and I thought these statements are not getting printed or displayed. So why does it hurt to delete all those lines.

So, how far does my idea of ​​not deleting the logs affect the application? Will it increase the size of the app (cached data or whatever)?

@ Everyone, I think you are not mistaken as I ask. I know Google is advising us to delete logs and I am not asking about that. I want to know what is the impact of these logs on my application if I do not delete the logs

+3


source to share


2 answers


You must delete all log messages. In addition, the user can see them through logcat. But nothing will happen to your application (no increase in size, etc.).



Read this if you want to know how to remove them on the fly during deployment: Remove all debug error messages before posting: are there tools to do this?

+2


source


Read the section - Preparing your app for release http://developer.android.com/tools/publishing/publishing_overview.html



0


source