Error Log viewing

Ralph Stickley [email protected]
Thu, 11 Jan 2001 12:25:59 -0800 (PST)


Anyone interested in viewing a more detailed listing of the log
files, try inserting the following two lines of script

----------------------
pwl_target_functions:

 copy messages to the log files to keep track of whats 
 being done (at about line 462)
----------------------
func_rd_action()
     ...
     m*)
        ...
        echo $2 >> $rd_log        # << add this line
        ;;
 
----------
pwl_config:
  append the log file to the result list file (at about line 400)
----------
func device_load_fs()
{
  ...
  # Show Results if selected
  ...
  else
    cat $rd_log >> .load.log     # << add this line
    show_results ...
----------

This shows the list of action messages and their results followed by
each message and the data collected when that action item was
executed.  This should help in debugging any target loading problems.

Enjoy
Ralph

Adi - you might add this to the mainline code unless you can come up 
with something better...



__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
---------------------------------------------------
See the list archives at http://adis.on.ca/archives/
See the PWL homepage at  http://peeweelinux.com
---------------------------------------------------