On 23/08/2024 18:39, Øyvind Gjesdal wrote:
Hi Scott,

I think you are right. There is more info on logging for fuseki in
https://jena.apache.org/documentation/fuseki2/fuseki-logging.html which
also contains a link to a default file you can fit to your needs.

Best regards,
Øyvind

Yes, and in addition, if you want to take complete complete control of logging you can configure log4j directly by setting the environment variable LOGGING (see the fuskei-server script).

e.g.

    export LOGGING="-Dlog4j.configurationFile=file:...."

and use XML or JSON formats.


On Fri, Aug 23, 2024 at 7:21 PM Scott Henninger <[email protected]>
wrote:

Is it possible to configure logging from the command line for Fuseki?  I
found the following link that indicates it looks for the file
log4j2.properties, but I don't see anything about what goes in that
properties Apache Jena - Running Fuseki with UI<
https://jena.apache.org/documentation/fuseki2/fuseki-webapp.html#configuring-logging


First of all is it true that configuring logging is a matter of including
the log4j2.properties file and if so what should appear in the file to set
logging levels?

Thank you
-- Scott



Reply via email to