Made logs more human readible
Typical ubql select log
20181130 16332046 " + ubql
20181130 16332046 " http 127.0.0.1 -> POST ubql
20181130 16332046 " http [{"entity":"uba_user","method":"select","fieldList":["disabled","isPending","name","firstName","lastName","ID","mi_modifyDate"],"options":{"limit":100,"start":0}}]
20181130 16332046 " auth admin/81314131
20181130 16332046 " call endpoint ubql
20181130 16332046 " + ubMixinClasses.TubStorageMixin(00007F921585DD00).MixinMethod
20181130 16332046 " debug uba_user.select(TubStorageMixin)
20181130 16332046 " + ubApp.TubDataStore(00007F920C2726C0).Init
20181130 16332046 " + ubApp.TubApp(00007F92158CC9F0).DBExecute
20181130 16332046 " + ubApp.TubApp(00007F92158CC9F0).TubApp.InternalDBExecute
20181130 16332046 " SQL ubDBSQLite3ThreadSafe.TubSQLite3Statement(00007F920C224DE0) SELECT A01.disabled,A01.isPending,A01.name,A01.firstName,A01.lastName,A01.ID,A01.mi_modifyDate FROM uba_user A01 LIMIT 100 OFFSET 0
20181130 16332046 " - 00.000.173
20181130 16332046 " - 00.000.344
20181130 16332046 " debug Fetch 5 rows for "uba_user" into ""
20181130 16332046 " - 00.000.493
20181130 16332046 " - 00.000.869
20181130 16332046 " http 127.0.0.1 <- 200
20181130 16332046 " - 00.001.866
can be simplified to
20181130 16355555 " + ubql
20181130 16355555 " http 127.0.0.1 -> POST ubql
20181130 16355555 " info [{"entity":"uba_user","method":"select","fieldList":["disabled","isPending","name","firstName","lastName","ID","mi_modifyDate"],"options":{"limit":100,"start":0}}]
20181130 16355555 " auth admin/81485920
20181130 16355555 " call endpoint ubql
20181130 16355555 " + method(TubStorageMixin) uba_user.select
20181130 16355555 " + DataStore.init(uba_user)
20181130 16355555 " + App.fetchAllOrExec
20181130 16355555 " + App.prepareAndRun(conn=main/SQLite3)
20181130 16355555 " SQL SELECT A01.disabled,A01.isPending,A01.name,A01.firstName,A01.lastName,A01.ID,A01.mi_modifyDate FROM uba_user A01 LIMIT 100 OFFSET 0
20181130 16355555 " - 00.000.146
20181130 16355555 " debug 5 row(s) fetched
20181130 16355555 " - 00.000.248
20181130 16355555 " - 00.000.322
20181130 16355555 " - 00.000.574
20181130 16355555 " http 127.0.0.1 <- 200
20181130 16355555 " - 00.001.298
without losing any meaningful information
Edited by Pavlo Mashliakovskiy