This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

How-to configure logging?

Frequently asked questions about VisionX.

How-to configure logging?

Postby johnit » Thu Nov 29, 2018 12:33 pm

I want to see the executed SQL statements for my screens, to optimize my database tables or to create an index. Is it possible to enable logging directly in VisionX?
johnit
 
Posts: 45
Joined: Fri Nov 16, 2012 5:58 pm

Re: How-to configure logging?

Postby Support@SIB » Thu Nov 29, 2018 12:42 pm

Yes, this is possible. You have different options for logging in VisionX. The first option is temporary logging. In this case, you configure logging directly in VisionX and have to reconfigure logging for the next time you start VisionX.

To enable temporary logging, open the About dialog:
  • Main / About
  • Log Tab
  • set Log Level to ALL for the logger com.sibvisions.rad.persist.jdbc.DBAccess
This will print the executed queries to the console (if you run visionx.bat) or into the log directory <VisionX dir>/log/


It's also possible to configure standard Java Logging (via logging.properties in <VisionX dir>/lib). More details about logging are available in our documentation.
User avatar
Support@SIB
 
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm


Return to VisionX