Need advice about which tool to choose?Ask the StackShare community!

Log4j

285
88
+ 1
0
Logstash

9.2K
7.2K
+ 1
102
Add tool
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Log4j
Pros of Logstash
    Be the first to leave a pro
    • 68
      Free
    • 18
      Easy but powerful filtering
    • 12
      Scalable
    • 2
      Kibana provides machine learning based analytics to log
    • 1
      Great to meet GDPR goals
    • 1
      Well Documented

    Sign up to add or upvote prosMake informed product decisions

    Cons of Log4j
    Cons of Logstash
      Be the first to leave a con
      • 4
        Memory-intensive
      • 1
        Documentation difficult to use

      Sign up to add or upvote consMake informed product decisions

      What is Log4j?

      It is an open source logging framework. With this tool – logging behavior can be controlled by editing a configuration file only without touching the application binary and can be used to store the Selenium Automation flow logs.

      What is Logstash?

      Logstash is a tool for managing events and logs. You can use it to collect logs, parse them, and store them for later use (like, for searching). If you store them in Elasticsearch, you can view and analyze them with Kibana.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Log4j?
      What companies use Logstash?
      See which teams inside your own company are using Log4j or Logstash.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Log4j?
      What tools integrate with Logstash?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      May 21 2019 at 12:20AM

      Elastic

      ElasticsearchKibanaLogstash+4
      12
      3825
      GitHubPythonReact+42
      48
      39823
      GitHubMySQLSlack+44
      109
      50313
      What are some alternatives to Log4j and Logstash?
      SLF4J
      It is a simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging frameworks allowing the end user to plug in the desired logging framework at deployment time.
      Logback
      It is intended as a successor to the popular log4j project. It is divided into three modules, logback-core, logback-classic and logback-access. The logback-core module lays the groundwork for the other two modules, logback-classic natively implements the SLF4J API so that you can readily switch back and forth between logback and other logging frameworks and logback-access module integrates with Servlet containers, such as Tomcat and Jetty, to provide HTTP-access log functionality.
      Loki
      Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate, as it does not index the contents of the logs, but rather a set of labels for each log stream.
      Castle Core
      It provides common Castle Project abstractions including logging services. It also features Castle DynamicProxy a lightweight runtime proxy generator, and Castle DictionaryAdapter.
      Bunyan
      It is a simple and fast JSON logging module for node.js services. It has extensible streams system for controlling where log records go (to a stream, to a file, log file rotation, etc.)
      See all alternatives