AnsweredAssumed Answered

Sorting the Userload.exe log

Question asked by lpadgett on Oct 26, 2016
Latest reply on Nov 2, 2016 by Richard Post

Hello All,


Recently I have been seeing errors in my nightly userload update.  My script writes a full log to file and also pipes a smaller report to a preset file for email that looks like this :


User record summary:


  Inserted:  0

  Updated:   3011

  Deleted:  0

  Errors:    1


  When I look at the saved log it is really hard to see what is going on that could be causing the errors because of the output format.

Is there a documented set of what the possible errors could be in the Userload.exe output log?  It's rather verbose and hard to go through line by line.


[2016/10/23 22:32:42.607 P24FC T41C0 d BatchLoader] Build the user object from a file line

[2016/10/23 22:32:42.607 P24FC T41C0 d BatchLoader] Do something with the user depending on the action type

[2016/10/23 22:32:42.607 P24FC T41C0 d BatchLoader] Update user in the database


  I echoed out error values from the userload.exe program when I first wrote the nightly add/update script and was able to see that if a '2' was returned it corresponded to no users being added to the db from the file and if it was '3' it meant that no file was present for userload.exe to process (or that is what I presumed due to the behavior and tests I ran against output).   Has anyone found any other numbered error levels that might allow me to further automate my errors in the nightly script? 


Thanks for any feedback,


-Loyd Padgett