1. [Home](https://www.g2.com/)
2. ...
3. [Log Monitoring Software](https://www.g2.com/categories/log-monitoring)
4. [Apache log4j Discussions](https://www.g2.com/products/apache-log4j/discuss)

[
 ![Apache log4j](https://images.g2crowd.com/uploads/product/image/large_detail/large_detail_b350900e1c1cde239f398145fc13d8f3/apache-log4j.jpg "Apache log4j")
](/products/apache-log4j/reviews)

# Apache log4j Discussions

Apache Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the improvements available in Logback while fixing some inherent problems in Logback architecture.

 ![Apache log4j](https://images.g2crowd.com/uploads/product/image/large_detail/large_detail_b350900e1c1cde239f398145fc13d8f3/apache-log4j.jpg "Apache log4j")

Apache log4j Discussions

Most CommentedMost HelpfulCommon QuestionsNewest

Showing **2** discussions

 ![Pinned by G2 as a common question](/assets/transparent-ad5be28fbcd25b7b08d2cebe1d957125437fb5407d75ee717965ad22c8808791.gif "Pinned by G2 as a common question")
G2

Pinned by G2 as a common question

•

about 3 years ago

More Options 
-  

Share

 

[![linkedin](/assets/social-logos/linkedin-afe65e46604a5bd5105ab9c856116204040b6b3f2b2d42562fc8071ca0c48ca0.svg "linkedin")](https://www.linkedin.com/shareArticle?mini=true&summary=What+is+Apache+log4j+used+for%3F&title=What+is+Apache+log4j+used+for%3F&url=https%3A%2F%2Fwww.g2.com%2Fdiscussions%2Fwhat-is-apache-log4j-used-for)

[![twitter](/assets/social-logos/twitter-61aaec80434c71387b8f7326e480592eae71c0a65afd051d66fce9b75a9bf417.svg "twitter")](https://twitter.com/intent/tweet?text=What+is+Apache+log4j+used+for%3F&url=https%3A%2F%2Fwww.g2.com%2Fdiscussions%2Fwhat-is-apache-log4j-used-for&via=G2dotcom)

[![facebook](/assets/social-logos/facebook-350d0b410d6b10debcf893050e803a8633d53561aa42807b087b8daf9be3668f.svg "facebook")](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.g2.com%2Fdiscussions%2Fwhat-is-apache-log4j-used-for)

[![gmail](/assets/social-logos/gmail-6db42f21e7c254fae201b112bef0dd15d25223a5cbb32691ce80eab43761eadf.svg "gmail")](https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=&su=What+is+Apache+log4j+used+for%3F&body=https%3A%2F%2Fwww.g2.com%2Fdiscussions%2Fwhat-is-apache-log4j-used-for%0aWhat+is+Apache+log4j+used+for%3F)

[![mail](/assets/social-logos/mail-d55c53b04bf49872e40cd2443b85a99caa23394e6cf154ae32a9d08377c15d86.svg "mail")](mailto:?subject=What+is+Apache+log4j+used+for%3F&body=https%3A%2F%2Fwww.g2.com%2Fdiscussions%2Fwhat-is-apache-log4j-used-for%0aWhat+is+Apache+log4j+used+for%3F)

- 

Copy link

- 

[
## What is Apache log4j used for?
](/discussions/what-is-apache-log4j-used-for)
What is Apache log4j used for?

[

Log Monitoring Software

](https://www.g2.com/tags/log-monitoring-software)

Show More

 (Upvote this discussion)\<0\>0\> (Downvote this discussion)

0 (0 Comments)

Add a comment
[
View discussion
](/discussions/what-is-apache-log4j-used-for)

 ![Kranthi Kumar B.](/assets/transparent-ad5be28fbcd25b7b08d2cebe1d957125437fb5407d75ee717965ad22c8808791.gif "Kranthi Kumar B.")
KB

Loading...

[Kranthi Kumar B.](https://www.g2.com/users/4a88aef3-49bd-4573-b093-2f784a0e245b "Kranthi Kumar B.")

•

over 6 years ago

Senior Software Engineer at Highradius Technologies

More Options 
-  

Share

 

[![linkedin](/assets/social-logos/linkedin-afe65e46604a5bd5105ab9c856116204040b6b3f2b2d42562fc8071ca0c48ca0.svg "linkedin")](https://www.linkedin.com/shareArticle?mini=true&summary=I+want+to+highlight+some+incidents+with+colors+which+will+help+our+debugging+easy.+Could+someone+provide+examples+to+print+colors.&title=Hi%2C+I+want+to+use+colors+while+printing+logs.+Any+example+configuration%3F&url=https%3A%2F%2Fwww.g2.com%2Fdiscussions%2F26064-hi-i-want-to-use-colors-while-printing-logs-any-example-configuration)

[![twitter](/assets/social-logos/twitter-61aaec80434c71387b8f7326e480592eae71c0a65afd051d66fce9b75a9bf417.svg "twitter")](https://twitter.com/intent/tweet?text=Hi%2C+I+want+to+use+colors+while+printing+logs.+Any+example+configuration%3F&url=https%3A%2F%2Fwww.g2.com%2Fdiscussions%2F26064-hi-i-want-to-use-colors-while-printing-logs-any-example-configuration&via=G2dotcom)

[![facebook](/assets/social-logos/facebook-350d0b410d6b10debcf893050e803a8633d53561aa42807b087b8daf9be3668f.svg "facebook")](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.g2.com%2Fdiscussions%2F26064-hi-i-want-to-use-colors-while-printing-logs-any-example-configuration)

[![gmail](/assets/social-logos/gmail-6db42f21e7c254fae201b112bef0dd15d25223a5cbb32691ce80eab43761eadf.svg "gmail")](https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=&su=Hi%2C+I+want+to+use+colors+while+printing+logs.+Any+example+configuration%3F&body=https%3A%2F%2Fwww.g2.com%2Fdiscussions%2F26064-hi-i-want-to-use-colors-while-printing-logs-any-example-configuration%0aI+want+to+highlight+some+incidents+with+colors+which+will+help+our+debugging+easy.+Could+someone+provide+examples+to+print+colors.)

[![mail](/assets/social-logos/mail-d55c53b04bf49872e40cd2443b85a99caa23394e6cf154ae32a9d08377c15d86.svg "mail")](mailto:?subject=Hi%2C+I+want+to+use+colors+while+printing+logs.+Any+example+configuration%3F&body=https%3A%2F%2Fwww.g2.com%2Fdiscussions%2F26064-hi-i-want-to-use-colors-while-printing-logs-any-example-configuration%0aI+want+to+highlight+some+incidents+with+colors+which+will+help+our+debugging+easy.+Could+someone+provide+examples+to+print+colors.)

- 

Copy link

- 

[
## Hi, I want to use colors while printing logs. Any example configuration?
](/discussions/26064-hi-i-want-to-use-colors-while-printing-logs-any-example-configuration)
I want to highlight some incidents with colors which will help our debugging easy. Could someone provide examples to print colors.

[

Log Analysis Software

](https://www.g2.com/tags/log-analysis-software)

Show More

 (Upvote this discussion)\<0\>0\> (Downvote this discussion)

1 (1 Comment)

Add a comment
[
View discussion
](/discussions/26064-hi-i-want-to-use-colors-while-printing-logs-any-example-configuration)

## Browse by popular topics

[Log Analysis Software](/products/apache-log4j/discuss?filters%5Btags%5D%5B%5D=log-analysis-software)[Log Monitoring Software](/products/apache-log4j/discuss?filters%5Btags%5D%5B%5D=log-monitoring-software)