Hi Roni
No problem.
For the test script, how are you inserting the data? In the default set up, if the message comes in async and is any of (upd;
.u.upd;upd;.u.upd) then it does not get logged. This is how kdb+ tick passes messages around and the idea is to avoid logging all these updates.
If you want to modify it, there are two places that you can look at changing in the config script (config/settings/default.q or a specific config script for your process). .zpsignore defines the function patterns that will completely bypass any async message handler checks (logging, permissioning etc.). The default setup is
\d .zpsignore
enabled:1b // whether its enabled
ignorelist:(upd;"upd";
.u.upd;“.u.upd”) // list of functions to ignore
The second place is specific to the logging functionality. Only (`upd;upd) are ignored by default:
// Configuration used by the usage functions - logging of client interaction
\d .usage
enabled:1b // whether the usage logging is enabled
logtodisk:1b // whether to log to disk or not
logtomemory:1b // write query logs to memory
ignore:1b // check the ignore list for functions to ignore
ignorelist:(`upd;“upd”) // the list of functions to ignore in async calls
flushtime:1D00 // default value for how long to persist the in-memory logs. Set to 0D for no flushing
suppressalias:0b // whether to suppress the log file alias creation
logtimestamp:{.z.d} // function to generate the log file timestamp suffix
LEVEL:3 // log level. 0=none;1=errors;2=errors+complete queries;3=errors+before a query+after
logroll:1b // Whether or not to roll the log file automatically (on a daily schedule)
(its overkill to do it in both places, but its there for the usage logging in case the zpsignore is disabled)
If you want to test it from the process itself you can pass it through the 0 handle, which goes through .z.ps e.g.
0(upd;
mytable;(data))
Also, the heartbeating is logged as the timer is invoked through the 0 handle by default. To switch that off, change .timer.logcall.
Thanks
Jonny