Project

General

Profile

GettingLogs » History » Revision 4

Revision 3 (Paul Kocialkowski, 02/22/2014 10:40 AM) → Revision 4/15 (Paul Kocialkowski, 06/30/2015 09:44 PM)

h1. Getting logs Logs 

 When some component misbehaves or stops working on Replicant, it is recommended to: 
 # Get logs showing the issue 
 # Open a ticket on our tracker to report the issue (*New issue* tab) 

 h2. Obtaining logs 

 h3. Buffers 

 The Android logging subsystem uses different log buffers: @events@, @main@, @radio@ and @system@. 
 Generally speaking, when the issue you encountered concerned telephony, including data (3G), the buffer you want is @radio@. In any other case, that's the @main@ buffer you want. 

 There are various ways to obtain logs: 

 h2. h3. Using ADB adb 

 After [[ToolsInstallation#ADB|installing ADB]], Instructions to install ADB: [[ToolsInstallation#ADB|ToolsInstallation]] 

 Now use it adb this way: 
 <pre> 
 adb logcat -b [BUFFER] 
 </pre> 
 Save the output to a file and attach it to the new issue report.  

 h2. h3. Using aLogcat 

 aLogcat is a (free) Android app that will collect logs and save them to a file, either regularly or when you press the *Save* button from the app menu. 
 You can set the desired buffer from the @Preferences@. 

 After saving the log, you can get it from a file stored in the @alogcat@ folder on the root of storage.