Redirecting stdout to file on server

Are you using LiveCode to create server scripts or CGIs?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
TorstenHolmer
Posts: 28
Joined: Mon Oct 28, 2013 1:23 pm
Location: Dresden, Germany

Redirecting stdout to file on server

Post by TorstenHolmer » Wed Jun 17, 2020 6:11 pm

Hi,

I use Livecode server as an API for uploading some files from another application with the POST command.
The problem is, that I cannot see the error messages, if something fails.
In browser based interaction set the errorMode to "inline" is fine, but between apps I cannot see the reply.

There seems to be a way to redirect the error messages from the server to a file (like errors.txt), but I could not find any sources.

Can somebody help me out?

Kind regards,
Torsten

Post Reply

Return to “CGIs and the Server”