Thanks, Xi. You example works for me. However, when I attempt to
apply it to my problem, I can't seem to get it to work. I call a q
function from my C shared library when data comes in (via a socket
registered with sd1()), and in that function, I make the call to the 0
handle. Attaching a 0N! to .
z.ps confims that this call is being made
and is successful. For some reason though, this doesn't get written
to the log. I have tried this both by specifying the q script on the
command line and by loading it via \l.
Is there an explicit function to write to a log file, something of an
inverse to -11! ?
Thanks,
Victor
On Apr 19, 5:21 pm, Xi Chen <
heydic...@gmail.com> wrote:
> Hi,
>
> It is not the problem of the 0 handle, i think it is the way you start
> up the logging process
> q)h:hopen`::5012;
> q)h
> 0
> q)
>
> q abc -l
> q)\l test3.q
> ,0
> q)\\
>
> copy abc.log showlog.log
> q showlog -l
> (`ins;`x;1 2)
>
> Regards,
> Xi
>
> > For more options, visit this group athttp://
groups.google.com/group/personal-kdbplus?hl=en.
> For more options, visit this group athttp://
groups.google.com/group/personal-kdbplus?hl=en.