Hi Andy,

I use ARQ as a library. And your advice works like a charm thanks a lot.

Best.

-------------------------------------------------------------------------------------------------------------------------------
Julien Plu

Etudiant en 2ème année de Master Ingénierie en Intelligence Artificielle à
l'université Montpellier 2.
Responsable de la rubrique Web
sémantique<http://web-semantique.developpez.com>de Developpez.com.
Mes projets Web sémantique: http://data.lirmm.fr
Page personnelle: http://jplu.developpez.com
Fichier FOAF (version RDF): http://jplu.developpez.com/julien
Fichier FOAF (version RDFa): http://jplu.developpez.com/julien.html
Adresse mail personnelle: [email protected]
Adresse mail universitaire: [email protected]



2012/6/12 Andy Seaborne <[email protected]>

> On 11/06/12 16:15, Julien Plu wrote:
>
>> Hi,
>>
>> I have a problem in using ARQ, always i have this message :
>>
>> log4j:WARN No appenders could be found for logger
>> (com.hp.hpl.jena.sparql.mgt.**ARQMgt).
>> log4j:WARN Please initialize the log4j system properly.
>> log4j:WARN See 
>> http://logging.apache.org/**log4j/1.2/faq.html#noconfig<http://logging.apache.org/log4j/1.2/faq.html#noconfig>for
>> more info.
>>
>> I try to use a log4j.properties (provide here :
>> http://jena.apache.org/**documentation/query/logging.**html<http://jena.apache.org/documentation/query/logging.html>)
>> and call this file
>> in my program with : PropertyConfigurator.configure ("log4j.properties");
>> As my first instruction, but that doesn't works.
>>
>> How I can do for remove these messages ?
>>
>
> How are you running ARQ?  From the command line or as a library?
>
> Command line:
> 1/ This is fixed in the next release
> 2/ Put a log4j.properties in the current working directory
>
> Library:
> 1/ Either set -Dlog4j.configuration on the java command
> 2/ Very early in your program, initialize the logging manually.
>
> (before any logging code is called and any Jena code will cause logging
> initialization) so before any Jena code is run
>
> e.g. at the top of your main class:
> static { Log.setLog4j() : }
>
> and have a log4j.properties in the current directory.
>
>        Andy
>
>
>> Thanks in advance.
>>
>> Best regards.
>>
>> ------------------------------**------------------------------**
>> ------------------------------**------------------------------**-------
>> Julien Plu
>>
>> Etudiant en 2ème année de Master Ingénierie en Intelligence Artificielle à
>> l'université Montpellier 2.
>> Responsable de la rubrique Web
>> sémantique<http://web-**semantique.developpez.com<http://web-semantique.developpez.com>>de
>> Developpez.com.
>>
>> Mes projets Web sémantique: http://data.lirmm.fr
>> Page personnelle: http://jplu.developpez.com
>> Fichier FOAF (version RDF): 
>> http://jplu.developpez.com/**julien<http://jplu.developpez.com/julien>
>> Fichier FOAF (version RDFa): 
>> http://jplu.developpez.com/**julien.html<http://jplu.developpez.com/julien.html>
>> Adresse mail personnelle: 
>> julien.plu@redaction-**developpez.com<[email protected]>
>> Adresse mail universitaire: [email protected]
>>
>>
>

Reply via email to