Re: development of file which log all the debug script




"danish" <u36812@uwe> schreef in bericht news:7707c55b9ed7c@xxxxxx
greeting all........

i m a new professional workin on the development of file which log all the
debug script.Actually as per my requirement, I need to log all the debug
script (data) in a log file on the run of every script (whenever someone
is
running a script) and the data should be logged in the file in following
format:
This log file will be automatically created whenever someone is running a
script and no matter that script fails or succeeded it will save the debug
output text in a file in the following format.



Account name

File Name

Layout Name

Table Occurrence Name (The table the layout is associated with) Base Table
Name (The base table the layout is associated with) Object Type (Button,
Merge Field, Field, Portal, Etc...) Object Location (Left, Top, Right,
Bottom)
Current Record Number Current Number of Records in the found set Duration
it
took to render - in microseconds


Hope it is clear.

I will try to send some more details on this.

Please let me know is it achievable or not?

I will be extremely obliged if u can help me to achieve any part of the
requirement.

Regards
danish


Achievable yes, practicle no. And not all the things you want exist.
Filemaker keeps track of the time by using whole seconds only. Parts of this
can not be registered.

As for the other things, you could set up a LOG script that uses several
script parameters. (Like button, where and when). Then start every script
with a reference to this sub-script. You have to create very extensive parse
solutions to accomplish this. but it can be done.
And put all this info in a log table. But this would require very thorough
and extensive set up. Although with a lot of patience i'm sure it can be
done. Leaves the question why you want this detailed information. It seems a
bit superfluous.

Keep well, Ursus


.


Quantcast