Re: Building a custom runner to log all accesses to the 4gi/4go
Posted in 2005
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Security, Permissions & Auditing, Internationalization & Character Sets
Doubt it will help - but in Aubit4GL there is a function which is called whenever a 4GL function is called (A4GLSTK_pushFunction) - you can easily add a piece of code in there to log when functions are being called (being OpenSource) and use the 4gl map (4glpc --map ...) to get the line numbers and filenames etc... The map file also dumps all the tables, columns, windows, cursors etc that it sees.. On Sunday 21 August 2005 16:11, informix@southriver.com.au wrote: > Hi, > > 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? > > Thanks > > R -- Mike Aubury sending to informix-list
Thanks all for the direction. The retrofiting of standard startup code is underway. But we are looking for some quick wins in identifying used programs. But as you identified Jonathan what we really want to identify is: tracking the applications at the program level - eg. (this program is run frequently, this program is run seldom, this program hasn't been run since the last 29th February). I will be proceeding with some sort of fglgo wrapper and park the custom runner idea for the present.