Questions tagged [apache-commons-logging]

Apache Commons Logging is a logging facade for the Java programming language.

Apache Commons Logging is a component of the Apache Commons project. Apache Commons Logging is a logging facade, is open source software distributed under the Apache License, Version 2.0, and provides a common API for use with several logging implementations, including log4j and Java Logging.

This logging facade allows the logging implementation to be chosen at runtime yet allows all logging development to be done against a single API.

Related Tags

231 questions
0
votes
2 answers

Getting email client does not support HTML messages for Email through Java

I am sending email using apache-commons-logging.jar. I am able to send html email successfully, but few people are getting Your email client does not support HTML messages message in their mail. The following is the code sample - HtmlEmail…
Deepu
  • 2,590
  • 19
  • 52
  • 74
0
votes
1 answer

log4j and spring

I am developing a Java desktop application and I am using Spring with it. Now I want to inject log4j to my classes using applicationContext.xml. My log4j properties file is placed in a source folder Resources/log4j.properties During my search I…
-1
votes
1 answer

Apache Logs Settings

I have developed a web page , that contains some automated tasks . Currently, in my access logs, I am receiving only the pages accessed by users. How can I track, what option the user is selecting from the web page? Is it possible to get this…
Chinchan
  • 19
  • 1
  • 11
-1
votes
2 answers

Classpath for Maven project in Eclipse - src vs src/main/java

I am trying to add commons-logging.properties to the classpath to be picked up by commons-logging.1.1.3.jar which uses JDK14Logger by default and then print DEBUG logs. When I added this under /src folder (a normal Java project),it was picked up…
user104309
  • 690
  • 9
  • 20
-1
votes
2 answers

Log4j is implementation of commons-logging or slf4j?

Hy, I have read that commons-logging and slf4j are "interfaces or specifications" for logging and you have to plugin an implementation. But I have read that you can use log4j for example with commons-logging and with slf4j too, so: log4j…
fernando1979
  • 1,727
  • 2
  • 20
  • 26
-3
votes
1 answer

when i am running my application i get the Exception in thread "main" java.lang.ExceptionInInitializerError

The program extracts data from salesforce and writes it to a text file. Please help me in understanding the reason for error. Exception in thread "main" java.lang.ExceptionInInitializerError at…
1 2 3
15
16