Can I log just errors in different file other than logfile?

Is it possible to log all errors in different file? I can check all errors in logfile but it takes time to search all logged error.Please help me if there is any other way to see list of errors.

Comments

  • EggplantMattEggplantMatt ForumAdmin admin
    You can override the LogError command so that it outputs to a second file. Just create a script that defines a handler called LogError that writes the argument that is passed to it to a different file. Then use the command "start using" with that script name at the beginning of each script. You may want to pass the message on after logging the value so that executing the logError command still makes the script register as a failure:
    on logError
        -- code to write out the parameter to a file
        pass message and continue
    end logError
    
Sign In or Register to comment.