Alpha Video Training
Results 1 to 2 of 2

Thread: Generic Error Logging

  1. #1
    Member Purvi's Avatar
    Real Name
    Purvi Patel
    Join Date
    May 2011
    Location
    Houston
    Posts
    73

    Default Generic Error Logging

    Does Alpha have a Generic Error Log that keeps track of what lines were processed in scripts that ran in one session? I.e. Error Logging functionality in .NET.

    P.s. I am using this method in my Xbasic functions but sometimes it does not even create Logfile!! I don't know what i am doing wrong here?

    logfileName = "c:\xxx.txt"
    save_to_file("Test : " + "Started" + crlf(),logfileName, .f.)
    'This writes the first line and clears out the log file (the .f. means don't append).

    save_to_file("TestBatchKey: " + e._currentRowDataOld.LBBatchKey + crlf(),logfileName, .t.)
    save_to_file("TestInstrKey: " + e.Session.sInstrKey + crlf(),logfileName, .t.)


    P.S. I use session variables and that makes it even harder to debug with debug(1) in xbasic functions. Plus, i also use tmpl.showErrorDetail = .t. in my Grid Component advance properties but i believe it only catches the SQL Errors!!

  2. #2
    Member
    Real Name
    Sparticuz
    Join Date
    Jun 2009
    Location
    Clearwater, FL
    Posts
    512

    Default Re: Generic Error Logging


Similar Threads

  1. Error Logging
    By StevenMcLean in forum Alpha Five Version 9 - Desktop Applications
    Replies: 1
    Last Post: 05-14-2009, 02:21 PM
  2. Error Logging
    By Charles Hoens in forum Alpha Five Version 7
    Replies: 7
    Last Post: 09-07-2006, 09:11 PM
  3. A5 generic questions
    By Claudio_V in forum Alpha Five Version 4
    Replies: 6
    Last Post: 06-19-2001, 12:09 PM
  4. How do I show Generic Fonts ?
    By Ted Giles in forum Alpha Five Version 4
    Replies: 2
    Last Post: 12-04-2000, 08:26 AM
  5. trouble with generic syntax
    By martinwcole in forum Alpha Five Version 4
    Replies: 4
    Last Post: 11-08-2000, 05:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •