Q qsrtech Active Member Licensed User Longtime User Jan 13, 2014 #1 I've noticed when I run a "release" version of my app on a comp with b4a (not the one that compiled it) and "connect" in the logs tab with the device plugged into USB that it logs any "log()". Does this mean anybody can run my app and use ADB and see my "logs()"?
I've noticed when I run a "release" version of my app on a comp with b4a (not the one that compiled it) and "connect" in the logs tab with the device plugged into USB that it logs any "log()". Does this mean anybody can run my app and use ADB and see my "logs()"?
Q qsrtech Active Member Licensed User Longtime User Jan 13, 2014 #2 Well it definitely logs other b4a apps in b4a. Tested some of Barx apps and it gave me all his bank account info! Not sure about using any other debuggers. Last edited: Jan 13, 2014 Upvote 0
Well it definitely logs other b4a apps in b4a. Tested some of Barx apps and it gave me all his bank account info! Not sure about using any other debuggers.
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2014 #3 You can read the logs of all apps this way. Just uncheck the filter logs box. Upvote 0
Q qsrtech Active Member Licensed User Longtime User Jan 14, 2014 #4 Perhaps we need a compiler option to remove logs? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2014 #5 You can create a MyLog sub: Code: Copy Sub MyLog(Message As String) If LogsEnabled Then Log(Message) End Sub LogsEnabled should be a process globals variable. Upvote 0
You can create a MyLog sub: Code: Copy Sub MyLog(Message As String) If LogsEnabled Then Log(Message) End Sub LogsEnabled should be a process globals variable.