Giter Club home page Giter Club logo

logfx's Introduction

LogFX Logo

Download

A log viewer capable of reading large files without a performance hit.

It is written in JavaFX so it can run in any Operating System.

Features

  • extremely fast to open and navigate large files.
  • tail file(s) with option to pause at any time.
  • go to date-time in any log file (or all opened files).
  • highlight text using regular expressions rules.
  • highly customizable look via JavaFX CSS (refreshes instantly).
  • keyboard friendly (shortcuts for everything).

Getting LogFX

To get LogFX:

  • click on the Download button near the top of this page, then open the Files tab, choose the logfx-x.x-all.jar file... notice the all qualifier...

OR

  • download the jar from the command-line:
curl -sSfL https://jcenter.bintray.com/com/athaydes/logfx/logfx/0.8.0/logfx-0.8.0-all.jar -o logfx.jar

Size of the jar as of version 0.6.1: 289 KB. Not MB!

Running LogFX

Java 8+ is required to run LogFX

Run it with:

java -jar logfx.jar

If you don't want it to use the default hundreds of MB of RAM, ask java to use at most 50MB and it will run fine:

java -Xmx50m -jar logfx.jar

Screenshots

See screenshots in the Wiki.

System properties

LogFX allows customizing certain behaviours using system properties.

The following properties are currently recognized at startup:

  • logfx.home - home directory (~/.logfx/) by default.
  • logfx.stylesheet.file - custom stylesheet file location.
  • logfx.stylesheet.norefresh - set this to any value to stop LogFX from watching the custom stylesheet file.
  • logfx.log.target - where to send LogFX's own log (file|sysout|syserr).
  • logfx.log.level - log level for LogFX's own log (trace|debug|info|warn|error).

To specify a different home for LogFX (say, /temp/logfx), for example, start LogFX with this command:

java -Dlogfx.home=/temp/logfx -jar logfx.jar

This allows you to store several different LogFX customizations in the same machine.

Specifying a custom stylesheet

Notice that the logfx.stylesheet.file allows you to specify your own stylesheet to customize the looks of LogFX.

The default stylesheet can be found at src/main/resources/css/LogFX.css.

The most interesting element is the .root, which lets you set the theme-colour as well as the UI icons' colours:

.root {
    -fx-base: #1d1d1d;
    -icons-color: rgb(61, 114, 144);
}

You can also increase the padding between log lines, as another example:

.log-line {
    -fx-padding: 2, 5, 2, 5;
}

To see some possibilities, check the Screenshots in the Wiki.

logfx's People

Contributors

renatoathaydes avatar

Watchers

 avatar

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.