
Allows multiple logging endpoints and formats depending on level and origin. Review collected by and hosted on G2.com.
Appenders documentation kind of hard to find Review collected by and hosted on G2.com.
| Time to go live | Relative frequency |
|---|---|
| 3–6 months | Most common |
| Under 1 month | Also reported |
| 1–3 months | Also reported |
| Under 1 day | Less common |
| 6 months or longer | Less common |

Allows multiple logging endpoints and formats depending on level and origin. Review collected by and hosted on G2.com.
Appenders documentation kind of hard to find Review collected by and hosted on G2.com.

Simplicity with less configuration. As we develop our own logger with log4j, which is helpful for JSON logging with some specific implementation from our end. This is not possible without great community support and active releases. Review collected by and hosted on G2.com.
As log4j is an interface where different people have different implementations, one is not sure which will be useful. So I think log4j will come up with solutions. Review collected by and hosted on G2.com.

Log levels / Custom log levels, Garbage free, Lambda support, log streaming Review collected by and hosted on G2.com.
Creates an overhead which slows down a performance a bit. Review collected by and hosted on G2.com.

I've used this framework in my previous java project. It's easy to pick and choose the logging levels down to the class thus making debug my software much easier. Backed up by Apache tends to use in vast projects. Review collected by and hosted on G2.com.
I wish the configuration to be simple. But with the newer version (Log4j2) I think its resolved. Review collected by and hosted on G2.com.

It has multiple levels of logging like debug, warn, info and error. Which makes it easy to index in log analyzer tools like splunk etc. Also it takes full path of class/method from which log is generated. Review collected by and hosted on G2.com.
It would be nice to have some online playground which would make it easy to playaround with various logging options provided. so that we can directly use it in our local. Review collected by and hosted on G2.com.
1- Multiple levels of recording logs i-e info, warning, debug.
2- Easy to add in your project. Just a simple dependency
3- Define logging of classes at root level.
4- Recording of queries
5- Console usage + file writting handling Review collected by and hosted on G2.com.
Do not delete the previous logs if file is not deleted which leads to huge chunk of file. Review collected by and hosted on G2.com.

Easy to use for various kind of problems. Easy to debug through the logs. Various types of log levels. Streaming of logs. Review collected by and hosted on G2.com.
Documentation can be more simple so that it can be more helpful. Also sometimes support is not as par. Review collected by and hosted on G2.com.

We used Apache Log4j for logging our server-side code in the previous company. We integrated Apache Log4j with Maven and logged all the errors and information in the log file. Log4j generates a txt file log, through which we can easily locate errors with the logging information from the txt file, which saved our time and helped us to debug it quickly. Review collected by and hosted on G2.com.
It slowed down the system a little bit, as compared to normal speed, but that was okay. Review collected by and hosted on G2.com.

Supports more than one appender per logger. Logging behavior is specified in a configuration file may be externally or within application resources loaded during runtime. Supports different logging levels Such as Error, Debug, Info etc. It is Thread safe as well. A single thread of logger can be used to extract user based tracking in the application. Review collected by and hosted on G2.com.
Although didn't find anything least helpful, except the fact that sometimes logging increases the programming overhead. Review collected by and hosted on G2.com.

It'll help you get into the users insights, with which you can see what are difficulties they face in our application. Based on which, we can improve our application. Review collected by and hosted on G2.com.
It increased the lines of code in your application. For bigger applications, to get a lot of insights, this might be hectic. Review collected by and hosted on G2.com.
Get practical answers, real workflows, and honest pros and cons from the G2 community or share your insights.

Hi, I want to use colors while printing logs. Any example configuration?
Averages based on real user reviews.
3 months