Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
GDC
>
remove time out messages in log files
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: remove time out messages in log files (Read 17031 times)
Jeff P.
Posts: 2
remove time out messages in log files
«
on:
November 22, 2014, 01:14:22 am »
Hi
referring to a recent post on the GAS forum "remove time out messages in log files" I'd like to ask the same question from a GDC view point. We have a wide area network and as programmer have no control over the network. We often get batches of
FORMS statement error number -6301.
Can not write to GUI: ^P.
and
FORMS statement error number -6302.
Can not read from GUI: Connection reset by peer.
Is there any way these could be redirected to a different log file or not shown in the log file.
Thanks
Reuben B.
Posts: 1116
Re: remove time out messages in log files
«
Reply #1 on:
November 24, 2014, 11:40:45 pm »
My own opinion is that these are valid messages and I would rather see them in the log than not in the log. There maybe a time when you are investigating something and their presence in the log helps you deduce what has happened.
However I concede that there maybe times when it is hard to see the forest from the trees due to the presence of these many log entries.
Two things that may help users with their log files.
1. Rather than writing a single log file STARTLOG("error.log"), write to individual log files based on some combination of one or more of program-name, user-name, date, PID etc. My experience was to use program-name and user-name, that way when person A rung up complaining that program X had crashed, we would look up A_X.log and see what had happened to them
2. The other thing is that the message in the log file is consistent. So it is possible to set up a cronjob or similar to create a slimmed down copy of the log file(s) with certain errors filtered out.
Hope that helps,
Reuben
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of
https://4js.com/ask-reuben
Contributor to
https://github.com/FourjsGenero
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...