Error Log - Internal Log ??

Bill Norris

Active Member
Licensed User
Longtime User
Is there any built in way to record a log file of a deployed app. I keep getting a random error that I cannot duplicate in debug mode - not even sure where it is occurring. Would be nice to have some type of event log that I could look at.
 

Mahares

Expert
Licensed User
Longtime User
@Billy: I do not know if this is what you are looking for: Connect to the log pane in the right side of the IDE and deploy your app. After it is finished deploying, you can right click the pane and select 'Copy all to clipboard'. Then you can paste the log to your favorite text viewer or Word.
 
Upvote 0

Bill Norris

Active Member
Licensed User
Longtime User
RE

Acknowledged -- my problem, though, is that the error(s) may occur perhaps after a few days of use, not just after deployment. I think my approach is to use Try/Catch where I think the errors may be occurring and write an appropriate entry to a database. I was just wondering if there wasn't already some built-in internal log that I could access.
 
Upvote 0

Bill Norris

Active Member
Licensed User
Longtime User
RE:

So you mean if I connect through bridge to the device and then connect to logs, I will see historical information? I did not know that, thought it just for "current" session.
 
Upvote 0

bloxa69

Active Member
Licensed User
Longtime User
@Billy: I do not know if this is what you are looking for: Connect to the log pane in the right side of the IDE and deploy your app. After it is finished deploying, you can right click the pane and select 'Copy all to clipboard'. Then you can paste the log to your favorite text viewer or Word.

I am using B4A 2.2 - when right clicking the log window, I don't get any options to copy the log text. Also, cannot highlight multiple lines and ctrl+C doesn't work either. I'm on Win 8.
I've installed the stand alone B4ALogViewer, same thing - no right click options. In B4ALogViewer I just highlighted the text and hit ctrl+C. That copied the text. Couldn't do it it in B4A IDE though.
 
Upvote 0
Top