How to turn on DEBUG logging for the virtual module

Created by Steve Place, Modified on Wed, Jul 16 at 8:36 PM by Steve Place

If you open a support ticket related to virtual graphs, a Stardog support engineer may ask you to enable DEBUG logging for the virtual (also known as "vega") module. This will enable a greater level of logging and is useful for troubleshooting virtual graph issues. To enable it, add the following to your log4j2.xml file, which can be found in your home directory [1]:

<Logger name="com.complexible.stardog.virtual.vega" level="DEBUG" additivity="false">
    <AppenderRef ref="stardogAppender"/>
</Logger>

You'll need to restart your Stardog server for this to take effect. Note this will add a lot of logging to your stardog.log, so we highly recommend you turn off DEBUG logging (by removing this stanza and restarting) once you have finished troubleshooting the issue.


[1] If it's not in your home directory, you can find a template in <stardog-installation>/server/dbms and copy that to your home directory.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article