Giter Club home page Giter Club logo

logfx's People

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

logfx's Issues

Error: Could not find or load main class com.athaydes.logfx.LogFX

Sorry for this noob report, I have never launched a JavaFX app before, and I am very far from the Java world.

$ lsb_release -a
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.3 LTS
Release:	16.04
Codename:	xenial
$ java -version
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)
$ sudo apt install openjfx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
openjfx is already the newest version (8u60-b27-4).
curl -sSfL https://jcenter.bintray.com/com/athaydes/logfx/logfx/0.7.0/logfx-0.7.0-all.jar -o logfx.jar
java -jar logfx.jar
Error: Could not find or load main class com.athaydes.logfx.LogFX

java -verbose shows no errors. How do you debug such errors?

Make scrolling smoothier

Load more lines so mostly the native scrolling is used, then when the edge is reached, load the next page directly and scroll to the current position. That should make scrolling much nicer.

Add a color chooser

Hello, nice tool

When in the "Highlight Options" menu I instinctively clicked on a colored square expecting a color chooser to pop up. Would be a nice addition.

Best Regards,

Very long lines seem to get cropped

For performance reasons, it's good to crop very long messages, but that should be marked clearly,
and copying the marked line should result in copying the actual full line.

Windows logfx.bat doesn't work if directory has spaces

On my Windows 10 machine, the path to where logfx.bat is located has spaces and a dash in it. This causes logfx.bat to fail to start with this error :

Unrecognized option: -
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

The fix is to to put quotes around the VM_OPTIONS, like this:

set VM_OPTIONS="-splash:%DIR%logfx-logo.png -Xms32m -XX:+UseSerialGC"

With that change, it starts up.

Save/Load highlight rules

Hello ^^

It would be nice to be able to save/load/edit the color rules.

And eventually to link them (and the date format) automatically to a log file (by extension ? or by directory or filename ?). It would be cool to have a preset for Apache log file, another one for PHP error logs, another for Tomcat, ...

Bottom filter bar always showing up on MacOS.

The new bottom bar (added in v0.9.0) showing when the filter is enabled is always visible on MacOS.

I tested only on linux, did not expect different behaviour in Mac... but there you go.

[Regression 0.7.0] Default colors do not refresh immediately

When changing colors in the highlight options screen, the colors in the log viewer should change immediately as the colors are modified.

This works for all rules, except the standard, last rule.

This seems to have broken after refactoring of the highlight options list.

Custom stylesheet does not work in Windows

In Windows, the full path of the stylesheet is given to JavaFX, but that does not work for some reason.

JavaFX says the it can't find the stylesheet under file:C:\path\to\file even when the path is correct. Probably due to the C: being included in the path.

Unreleased next version Exceptions on Mac OS

Exception in thread "AppKit Thread" java.util.concurrent.RejectedExecutionException: Task com.athaydes.logfx.ui.LogView$$Lambda$331/0x000000080036a840@55ed442f rejected from java.util.concurrent.ThreadPoolExecutor@5e0f6a61[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 2]
	at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
	at java.base/java.util.concurrent.Executors$DelegatedExecutorService.execute(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.ui.LogView.immediateOnFileChange(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.ui.LogView.immediateOnFileChange(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.ui.LogView.lambda$new$2(Unknown Source)
	at javafx.base/com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(Unknown Source)
	at javafx.base/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base/javafx.beans.value.ObservableValueBase.fireValueChangedEvent(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.binding.BindableValue.setValue(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.ui.HighlightGroupSelector.lambda$new$3(Unknown Source)
	at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.graphics/javafx.scene.Node.fireEvent(Unknown Source)
	at javafx.controls/javafx.scene.control.ChoiceBox$4.invalidated(Unknown Source)
	at javafx.base/javafx.beans.property.ObjectPropertyBase.markInvalid(Unknown Source)
	at javafx.base/javafx.beans.property.ObjectPropertyBase.set(Unknown Source)
	at javafx.controls/javafx.scene.control.ChoiceBox.setValue(Unknown Source)
	at javafx.controls/javafx.scene.control.ChoiceBox.lambda$new$1(Unknown Source)
	at javafx.base/com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(Unknown Source)
	at javafx.base/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base/javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(Unknown Source)
	at javafx.base/javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(Unknown Source)
	at javafx.base/javafx.beans.property.ObjectPropertyBase.markInvalid(Unknown Source)
	at javafx.base/javafx.beans.property.ObjectPropertyBase.set(Unknown Source)
	at javafx.controls/javafx.scene.control.SelectionModel.setSelectedItem(Unknown Source)
	at javafx.controls/javafx.scene.control.SingleSelectionModel.updateSelectedIndex(Unknown Source)
	at javafx.controls/javafx.scene.control.SingleSelectionModel.select(Unknown Source)
	at javafx.controls/javafx.scene.control.ChoiceBox$ChoiceBoxSelectionModel.select(Unknown Source)
	at javafx.controls/javafx.scene.control.SingleSelectionModel.select(Unknown Source)
	at javafx.controls/javafx.scene.control.ChoiceBox$ChoiceBoxSelectionModel.select(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.ui.HighlightGroupSelector.lambda$new$0(Unknown Source)
Exception in thread "AppKit Thread" java.lang.NullPointerException
	at com.athaydes.logfx/com.athaydes.logfx.ui.HighlightGroupSelector$HighlightGroupSelectorConverter.toString(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.ui.HighlightGroupSelector$HighlightGroupSelectorConverter.toString(Unknown Source)
	at javafx.controls/javafx.scene.control.skin.ChoiceBoxSkin.getDisplayText(Unknown Source)
	at javafx.controls/javafx.scene.control.skin.ChoiceBoxSkin.updateLabelText(Unknown Source)
	at javafx.controls/javafx.scene.control.skin.ChoiceBoxSkin.lambda$new$5(Unknown Source)
	at javafx.controls/com.sun.javafx.scene.control.LambdaMultiplePropertyChangeListenerHandler.lambda$new$1(Unknown Source)
	at javafx.base/javafx.beans.value.WeakChangeListener.changed(Unknown Source)
	at javafx.base/com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(Unknown Source)
	at javafx.base/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base/javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(Unknown Source)
	at javafx.base/javafx.beans.property.ObjectPropertyBase.markInvalid(Unknown Source)
	at javafx.base/javafx.beans.property.ObjectPropertyBase.set(Unknown Source)
	at javafx.controls/javafx.scene.control.ChoiceBox.setValue(Unknown Source)
	at javafx.controls/javafx.scene.control.ChoiceBox.lambda$new$1(Unknown Source)
	at javafx.base/com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(Unknown Source)
	at javafx.base/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base/javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(Unknown Source)
	at javafx.base/javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(Unknown Source)
	at javafx.base/javafx.beans.property.ObjectPropertyBase.markInvalid(Unknown Source)
	at javafx.base/javafx.beans.property.ObjectPropertyBase.set(Unknown Source)
	at javafx.controls/javafx.scene.control.SelectionModel.setSelectedItem(Unknown Source)
	at javafx.controls/javafx.scene.control.SingleSelectionModel.updateSelectedIndex(Unknown Source)
	at javafx.controls/javafx.scene.control.SingleSelectionModel.clearSelection(Unknown Source)
	at javafx.controls/javafx.scene.control.ChoiceBox.lambda$new$2(Unknown Source)
	at javafx.base/com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(Unknown Source)
	at javafx.base/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at javafx.base/javafx.collections.ListChangeBuilder.commit(Unknown Source)
	at javafx.base/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
	at javafx.base/javafx.collections.ObservableListBase.endChange(Unknown Source)
	at javafx.base/javafx.collections.ModifiableObservableListBase.setAll(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.ui.HighlightGroupSelector.lambda$new$1(Unknown Source)
	at javafx.base/com.sun.javafx.collections.MapListenerHelper$Generic.fireValueChangedEvent(Unknown Source)
	at javafx.base/com.sun.javafx.collections.MapListenerHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base/com.sun.javafx.collections.ObservableMapWrapper.callObservers(Unknown Source)
	at javafx.base/com.sun.javafx.collections.ObservableMapWrapper.put(Unknown Source)
	at java.base/java.util.Map.computeIfAbsent(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.config.HighlightGroups.add(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.ui.HighlightGroupsView.newGroup(Unknown Source)
	at com.athaydes.logfx/com.athaydes.logfx.ui.HighlightGroupsView.lambda$handleDuplicateGroup$3(Unknown Source)
	at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.graphics/javafx.scene.Node.fireEvent(Unknown Source)
	at javafx.controls/javafx.scene.control.Button.fire(Unknown Source)
	at javafx.controls/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)
	at javafx.controls/com.sun.javafx.scene.control.inputmap.InputMap.handle(Unknown Source)
	at javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Unknown Source)
	at javafx.graphics/javafx.scene.Scene.processMouseEvent(Unknown Source)
	at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source)
	at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
	at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
	at javafx.graphics/com.sun.glass.ui.View.notifyMouse(Unknown Source)
	at javafx.graphics/com.sun.glass.ui.mac.MacView.notifyMouse(Unknown Source)

Support zoom shortcut

Most applications support zooming in/out via shortcuts.
On Mac/Linux, Cmd+ and Cmd- are used to zoom in/out respectively, Windows probably has some other shortcut?!

LogFX just has to change the font sizes to emulate zooming... probably.

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.