timeseries / qstudio

qStudio - Free SQL Analysis Tool
https://www.timestored.com/qstudio/
Apache License 2.0
416 stars 17 forks source link

Additional logging for qstudio #51

Closed richb-hanover closed 3 weeks ago

richb-hanover commented 4 weeks ago

To make it easier to create comprehensive bug reports, it would help if qStudio would log various kinds of environmental information:

Thanks!

ryanhamilton commented 3 weeks ago

Added more info on startup

Jun 03, 2024 10:22:55 AM com.timestored.misc.DynamicClassLoader loadInstances
INFO: Searching for plugins in folder: C:\Users\ray\qstudio\libs
Jun 03, 2024 10:22:55 AM com.timestored.misc.DynamicClassLoader visitJarFileJavaClasses
INFO: Looking for plugins inside: C:\Users\ray\qstudio\libs/jdbc-1.30.22.5-jar-with-dependencies.jar
Jun 03, 2024 10:22:55 AM com.timestored.qstudio.QStudioLauncher main
SEVERE: Could not load a plugin due to module-info has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
C:\Users\ray\dev\workspace\qstudio-all\qstudio\target
Jun 03, 2024 10:22:55 AM com.timestored.docs.OpenDocumentsModel addDocument
INFO: addDocument: new 1
Jun 03, 2024 10:22:56 AM com.timestored.qstudio.QStudioLauncher$2 launch
INFO: Starting QStudioLauncher  launch() ###################################
Jun 03, 2024 10:22:56 AM com.timestored.qstudio.QStudioLauncher$2 launch
INFO: version = 3.03
Jun 03, 2024 10:22:56 AM com.timestored.qstudio.QStudioLauncher$2 launch
INFO: current dir = C:\Users\ray\dev\workspace\qstudio-all\qstudio\target\.
Jun 03, 2024 10:22:56 AM com.timestored.qstudio.QStudioLauncher$2 launch
INFO: PATH = C:\Program Files\Java\jdk1.8.0_211\jre\bin;......C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL..........;F:\apps\eclipse-java-2022-09\eclipse;
Jun 03, 2024 10:22:56 AM com.timestored.qstudio.QStudioLauncher$2 launch
INFO: JAVA_HOME = C:\Program Files\Java\jdk8u412-b08
Jun 03, 2024 10:22:56 AM com.timestored.qstudio.QStudioLauncher$2 launch
INFO: java.version =1.8.0_211
Jun 03, 2024 10:22:56 AM com.timestored.qstudio.QStudioLauncher$2 launch
INFO: os.name =Windows 10
Jun 03, 2024 10:22:56 AM com.timestored.qstudio.QStudioLauncher$2 launch
INFO: user.home =C:\Users\ray
Jun 03, 2024 10:22:56 AM com.timestored.qstudio.QStudioLauncher$2 launch
INFO: user.dir =C:\Users\ray\dev\workspace\qstudio-all\qstudio\target
richb-hanover commented 3 weeks ago

@ryanhamilton To make it easier to read, perhaps you could concatenate all those separate log entries into a single string, separated by newlines, so it appears all as one block, like this. Thanks!

Jun 03, 2024 10:22:55 AM com.timestored.misc.DynamicClassLoader loadInstances
INFO: Searching for plugins in folder: C:\Users\ray\qstudio\libs
INFO: Looking for plugins inside: C:\Users\ray\qstudio\libs/jdbc-1.30.22.5-jar-with-dependencies.jar
SEVERE: Could not load a plugin due to module-info has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
C:\Users\ray\dev\workspace\qstudio-all\qstudio\target
INFO: addDocument: new 1
INFO: Starting QStudioLauncher  launch() ###################################
INFO: version = 3.03
INFO: current dir = C:\Users\ray\dev\workspace\qstudio-all\qstudio\target\.
INFO: PATH = C:\Program Files\Java\jdk1.8.0_211\jre\bin;......C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL..........;F:\apps\eclipse-java-2022-09\eclipse;
INFO: JAVA_HOME = C:\Program Files\Java\jdk8u412-b08
INFO: java.version =1.8.0_211
INFO: os.name =Windows 10
INFO: user.home =C:\Users\ray
INFO: user.dir =C:\Users\ray\dev\workspace\qstudio-all\qstudio\target