[Gambas-user] Error output for gb.web.gui

Safiur Rahman isafiur at gmail.com
Fri Jan 6 20:01:09 CET 2023


Hi

I want to log the errors and process to debug my application in GB.web.gui

Is there any other way to do it?

On Sat, 7 Jan 2023, 00:21 Safiur Rahman, <isafiur at gmail.com> wrote:

> Hi
>
> This is not about javascript console. I meant WebForm.PrintLog
>
> Eg. The following is repeated in all events with very minor changes
>
> ================ NEW REQUEST:
> http://localhost:8080/./x?c=%5B%22update%22%2C%22%401.cmbusname%22%2C%22index%22%2C1%2Cfalse%5D
>   5676 | COOKIE = 127.0.0.1:94B5EDBD76FF2B9F431B69F9
>   5676 | /tmp/gambas.1000/session/gb.web.gui/127.0.0.1:94B5EDBD76FF2B9F431B69F9
> = True
>   5676 | CATCH SIGUSR1 SIGNAL
>   5676 | COOKIE = 127.0.0.1:94B5EDBD76FF2B9F431B69F9
>   5676 | OPEN READ /tmp/gambas.1000/session/gb.web.gui/127.0.0.1:94
> B5EDBD76FF2B9F431B69F9.out
>   5676 | OPEN WRITE /tmp/gambas.1000/session/gb.web.gui/127.0.0.1:94
> B5EDBD76FF2B9F431B69F9.in
>   5676 | SEND SIGUSR1 TO PROCESS 5424
>   5676 | WRITE ENV
>   5424 | Caught SIGUSR1
>   5424 | BeginResponse
>   5424 | Open read /tmp/gambas.1000/session/gb.web.gui/127.0.0.1:94
> B5EDBD76FF2B9F431B69F9.in
>   5424 | Read env
>   5676 | WAITING FOR SIGUSR1
>   5424 | Open write /tmp/gambas.1000/session/gb.web.gui/127.0.0.1:94
> B5EDBD76FF2B9F431B69F9.out
>   5424 | Send SIGUSR1 to request process 5676
>   5424 | HandleRequest: x
>   5676 | CAUGHT SIGUSR1
>   5676 | READ RESPONSE
>   5424 | /x: ["update","@1.cmbusname","index",1,false]
>   5424 | SendResponse
>   5424 | Close read
>   5424 | Close write
>
> On Fri, 6 Jan 2023, 14:13 Safiur Rahman, <isafiur at gmail.com> wrote:
>
>> Hi
>>
>> The current error output of gb.web.gui is very heavy. It prints a dozen
>> of similar lines for every event making it very difficult to read all
>> output and find out problem. Is there some way to disable the lines which
>> are almost same in all events and are not part of error.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230107/dfbf5807/attachment.htm>


More information about the User mailing list