Android desktop log viewer

2020-01-27 02:03发布

My Android application may save logcat logs to a file. This log file is then sent to developers for analysis.

Is there a nice desktop android log viewer application, which would visualize these logs?

I wasn't able to find a ready to use tool in Android SDK. Maybe I missed something there?

11条回答
贼婆χ
2楼-- · 2020-01-27 02:37

I've tried logview-0.19 - works fine for my 13Mb logs.

Make sure to mark ./logview and ./lib/logview.jar as executable when running in Linux.

查看更多
对你真心纯属浪费
3楼-- · 2020-01-27 02:38

You can use Android Debug Monitor or DDMS without Eclipse.

查看更多
The star\"
4楼-- · 2020-01-27 02:38

Personally I like TailExpert which I use together with logcatUDP to capture logs from multiple android targets, logcatUDP sends the log over the network to tailexpert where I capture it and view the side by side. But you can also read the logs from file if you like, it's a tail program so it will add logmessages to the view when they arrive. You can filter messages on keywords and use colors to identify certain logmessages. The other thing I like is that in tailexpert you can create columnizers on the fly and easily hide one or more columns or change the column order. The program is packed with features and I recently just started to discover the use of notifications to place bookmarks on the fly and halt the log when a certain logmessages passes by, which makes navigation so much quicker. Just check it out, you can download it here.

查看更多
Anthone
6楼-- · 2020-01-27 02:41

I've tweaked log4j Chainsaw V2 and the (VFS)LogFilePatternReceiver to allow Chainsaw to read events from Android log files generated via logcat -v time

Download the latest developer snapshot of Chainsaw (Mac DMG and tarball available): http://people.apache.org/~sdeboy

Save this XML off as a file (after tweaking the fileURL):

<?xml version="1.0" encoding="UTF-8"?>
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">
<plugin class="org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver" name="android-log">
    <param name="appendNonMatches" value="true"/>
    <param name="autoReconnect" value="true"/>
    <param name="fileURL" value="file:/path/to/android/log"/>
    <param name="name" value="android-log"/>
    <param name="logFormat" value="TIMESTAMP LEVEL/LOGGER(PROP(PID)):MESSAGE"/> 
    <param name="customLevelDefinitions" value="V=TRACE,D=DEBUG,I=INFO,W=WARN,E=ERROR,F=FATAL,S=OFF"/>
    <param name="promptForUserInfo" value="false"/>
    <param name="tailing" value="true"/>
    <param name="timestampFormat" value="yyyyMMdd HH:mm:ss.SSS"/>
    <param name="waitMillis" value="2000"/>
</plugin>
</log4j:configuration>

And then after starting Chainsaw, select the 'Use a Chainsaw config file' option from the 'File, load Chainsaw configuration' menu, browse to this XML file, select 'always start Chainsaw with this configuration' and press OK.

查看更多
在下西门庆
7楼-- · 2020-01-27 02:42

Desktop tool for reading android logcat log file, the same as DDMS. enter image description here The purpose of this tool is to allow developers to quickly locate, analyze, problem-solving, rather than struggling in the log file.

Feature: http://code.google.com/p/androidlogcatviewer/wiki/KeyFeature

Download: http://code.google.com/p/androidlogcatviewer/downloads/list

Discuss-group: http://groups.google.com/group/androidlogcatviewer

查看更多
登录 后发表回答