Re: Building a custom runner to log all accesses to the 4gi/4go



informix@xxxxxxxxxxxxxxxxx wrote:
We are reengineering our existing informix 4gl environment and to
determine which code is actually being run we would like to audit code
being run by our users.

Is it possible to build a custom runner to perform this task? And if so
what function do I need to put our audit code in to ensure that it is
called on every entry through to the 4gi's?

Or do we need to update our 4gls and or put a shell script around
fglgo?

Are you referring to tracking the applications at the program level - this program is run frequently, this program is run seldom, this program hasn't been run since the last 29th February - or at a more detailed level?


David responded in terms appropriate to a more detailed level; my immediate reaction had been to the program level. On rereading your post, I'm not sure which you had in mind.

If you are referring to the application level, you could create a custom runner - though I'd be more likely to create a wrapper program that is used and does the logging before invoking the real runner than try hacking into the standard runner's main program to do logging.

Alternatively, and depending on your local coding standards, you could rely on the standard startup code that sorts out local issues - such as always starting a log file - and use that as a way of detecting which programs are run when. Of course, if you don't have any standard startup code, then you have to retrofit such code. A shell script around fglgo would also work; that is also routine for me (it sets the environment, etc).

If you are thinking of monitoring within a program, then you'll have to devise appropriate changes to your I4GL code.

--
Jonathan Leffler                   #include <disclaimer.h>
Email: jleffler@xxxxxxxxxxxxx, jleffler@xxxxxxxxxx
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
.



Relevant Pages

  • Re: MS Security Update broke Web Servew 2003 Anonymous Connections
    ... credentials were the same in the local SAM. ... The standard IUSR_MachineName is no different from your custom anonymous ... and the Web Sites WORK now. ...
    (microsoft.public.inetserver.iis)
  • Epiphone G-400s vs. Gibson SG Standard & SG Special
    ... Epiphone G-400 Custom: $400 US ... the fretboard is glued/whatever to the neck looks like a mad doctor ... way selector (on a 3 pickup guitar) turned me off as well. ... Then I picked up a Gibson SG Standard. ...
    (alt.guitar)
  • Re: Pickups: Yamaha SG2000 vs Gibson Les Paul.
    ... >>>stupid, stupid, stupid! ... >> Standard. ... >Here's a Gibson vote! ... My Les Paul Custom weighs even more than the Yamaha. ...
    (uk.music.guitar)
  • Re: Persist user information using only out-of-the-box web parts
    ... I got it to to work on a standard Team Site, ... But now working on export it and then reimport in on a site with my custom ... >> user's data in the XML portion of the web part. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: LP Standard & Custom question
    ... The LP standard seems to be more popular than the custom among guitar players especially pros, but I have no idea why it might be the case. ... It seems that lately the Custom is being made with the original 50s vintage thick neck - which is the one I really don't like. ...
    (alt.guitar)