On 29/05/18 20:29, javed khan wrote:
Hello
I have installed and importe Jena 2.10. When I run my program, it gives me
the error:
WARN No appenders could be found for logger
(com.hp.hpl.jena.sparql.mgt.ARQMgt).
log4j:WARN Please initialize the log4j system properly.
I have included the "properties" file with the following code, but still it
gives me the error.
The message means log4j1 can't find a logging setup.
Add the appropriate "-Dlog4j.configuration=file:..." to the java
invocation.
Add "-Dlog4j.debug" to debug.
See the log4j documentation.
Andy
log4j.rootLogger=INFO, stdout
# Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p
%c{1}:%L - %m%n