Skip to content

cdcsgit/lognote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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_1 0_main Lognote_1 0_open


Config path

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

EX) After creating the directory
Windows : set LOGNOTE_HOME=D:\lognote
Linux : export LOGNOTE_HOME=~/lognote
Mac : export LOGNOTE_HOME=~/lognote


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


How to use(tips)

  1. Show only specific package logs - 1.0 ~ (use "Packages" menu)
  2. Show only specific package logs - ~ 0.3.8
  3. Add desktop shortcut in ubuntu

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

Log view mode

  1. "Not adb mode(file open...)" or "View > Show process name > None" lognote_columnX_processX
  2. "Not adb mode(file open...)" or "View > Show process name > None" + "View > Show divided by column" lognote_columnO_processX
  3. "Adb mode" and "View > Show process name > Show with color bg" lognote_columnX_processO
  4. "Adb mode" and "View > Show process name > Show with color bg" + "View > Show divided by column" lognote_columnO_processO

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