C API: Can't see printf() in AdministratorClient-RemoteConsole

Hi,

my first problem of today:

When using a printf() in my C API server task, I cannot see the output in the remote console of a Notes administrator client. What goes wrong? Has s.b. an idea how to get it working?

Best regards

Karsten

Subject: C API: Can’t see printf() in AdministratorClient-RemoteConsole

as you’ve noticed printf() will only print to the actual server console, if you use either AddInLogMessageText() or AddInLogErrorText() your output will get recorded in the logs.

check the api docs for the parameters they require.

Subject: RE: C API: Can’t see printf() in AdministratorClient-RemoteConsole

Yes, thanks a lot, it works. One question is left: I can’t see a difference between the two API functions (ok, the arguments are different, but…?!). What’s it, both print and write into the server’s log-db?

Regards,

Karsten

Subject: RE: C API: Can’t see printf() in AdministratorClient-RemoteConsole

one generates errors, the other doesn’t :slight_smile:

I think you can trap the error codes you use via the EVENT task but I’m not really sure, it may also display with an error icon in the remote console? I’m not really sure as don’t use the error method very much in my code, even for errors.