GithubHelp home page GithubHelp logo

cdcsgit / lognote Goto Github PK

View Code? Open in Web Editor NEW
144.0 2.0 16.0 1.46 MB

Log viewer, Android logcat viewer for Windows, Linux, Mac

Home Page: https://cdcsutils.blogspot.com/2021/08/lognote-android-logcat-viewer.html

License: Apache License 2.0

Kotlin 99.90% Batchfile 0.01% Shell 0.09%
android log-viewer logcat-viewer multiplatform pc kotlin swing logcat

lognote's Introduction

LogNote

Log viewer, Android logcat viewer for Windows, Linux, Mac

Filtered log viewer

Online / offline logcat view

Regular expression filter

Aging Test : Save split file by lines

Kotlin + swing

lognote_light

Run

Windows : start javaw -Dfile.encoding=utf8 -Xmx1024m -jar LogNote.jar
Linux : java -Dfile.encoding=utf8 -Xmx2048m -jar LogNote.jar
Mac : java -Dfile.encoding=utf8 -Xmx2048m -jar LogNote.jar


Config path

Save to the path set in the environment variable "LOGNOTE_HOME"
Default current path


Mode

  1. Read Cmd: Read the result after executing the command (ex: adb logcat)
    • You must set the Scrollback value.
      • If the value is not set, logs pile up and occur hang.
      • Recommended - Scrollback: 100000 (approximately 10 Mbytes), enable “Split File” option
  2. Read File: Read a file (File > Open, read multiple files continuously)
    • Multiple files : Drag & drop or File > Open files
    • Append files : Ctrl + drag & drop or File > append files
    • Save recent file view config on exit(filters, bookmarks)
    • Open recent files: set to saved view config
  3. Follow File: Continue reading logs added to the file (ex: adb logcat > a.log, File > Follow - a.log)
    • Used when you want to read the log of processing results of commands other than adb

Shortcut keys

  1. Ctrl + B: Toggle Bookmarks, multiple selected lines can be set at the same time
  2. Enter: View log dialog (Show long log(with the ends cut off), select string and add to log combo(filter))
  3. Ctrl+F: Show find toolbar
    • F3: Move to previous item
    • F4: Move to next item
  4. Ctrl + Page Down: Go to end of the log
  5. Ctrl + Page Up: Go to the beginning of the log
  6. Ctrl + R : stop cmd - connect device - clear log view - start cmd
  7. Ctrl + G : Go to line
  8. Ctrl + ` : Focus to log combo
  9. Ctrl + Del : Clear log view
  10. Ctrl + T : Show trigger list panel(aging test util)

Filter combobox color tag

Lognote_ColorTag

If enter '#' in the filter combo box, the color tag list is displayed
LogNote_ColorTag2


Filter combobox style

Setting > Filter Style : set style, color

  1. Single line
  2. Single line - highlight
    lognote_singleline
  3. Multi line
  4. Multi line - highlight
    lognote_multiline

Highlight color : Include text, Exclude text, Separator


Filter combobox size

lognote_filtercombo_disable


Filter manager

Click : replace
Ctrl + Click : append
Lognote_FilterManager


Search

Ctrl + F : show search bar
ESC : hide search bar
F3 : move to previous
F4 : move to next
Click Filter or Full View : Set search target view
Lognote_search_bar


Show process info

When mode is logcat receiving, process info is shown as a tooltip
Right click > Popup menu > Process info => Show all process list
Lognote_processInfo_1 Lognote_processInfo_2


Log format setting

In addition to logcat logs, you can also use other logs by setting the format
Lognote_manage_format


Log trigger - Aging test util(Ctrl-T)

When a specific log occurs, a command is executed or a dialog is displayed
lognote_trigger_list


Log cmd setting

Set the adb path(to view online log) and Add log cmds
lognote_log_cmd_setting


Color settings

Light(default)
lognote_light

Dark
lognote_dark


Setting > Appearance
Fixed-width fonts are recommended : The columns for logcat entries(time, pid, tag...) are aligned
lognote_appearance_settings


View Control

View > Rotation - Rotate 90 degrees clockwise
View > Full Logs - Toggle show/hide full log view
Full log view > Windowed Mode - Move the view to new window
Lognote_view_ctrl


Button Icons

Lognote_Icon


Save split file by lines for aging test

lognote_split_file
Each time 100000 lines are saved, it is changed to a new file

lognote's People

Contributors

cdcsgit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lognote's Issues

CANNOT SWITCH TO DARK MODE

when I touch apply dark mode, it revert back to light mode. even I restart the application

I touch apply and switch like this

image

after I touch X on setting window, it back to light mode

image

even I restarted the app, no changes

lognote hangs while collecting adb logs

While adb caglogs are being collected live, and if you click on any line, the lognote would freeze and hange until the cable is removed from the device. But again you will face hangs afterwards too.

The one that was working for me fine was v0.3.0
I am tried v0.3.4 also hangs

It is a nice tool and I like it.. If there is anything that you need me to collect to figure out the hang, please let me know

Filter by tag: Inconsistency of $

Hi, thanks for the excellent log viewer.
This is a minor issue, but something annoying nonetheless.
When filtering by tag using a regex pattern, ^ always matches the beginning of the tag, but $ doesn't always match the end of it.
Example:

12-05 22:22:48.538   728  1160 I zygote  : Verified 41637 classes from mainline modules in 4.623s

Filtering by ^zygote$ correctly finds this line.
However:

12-05 22:23:37.314  1436  1753 D PackageManager: writeLegacyPermissionState for user 0 in 13 ms.

Filtering by ^PackageManager$ finds nothing.
Filtering by ^PackageManager:$ finds the line, but the : is not really part of the tag, just like it's not part of the zygote tag (filtering by ^zygote:$ or ^zygote :$ finds nothing).

Hope you can patch it up.
Thanks in any case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.