Santosh.'s profileDynamics AxPhotosBlogLists Tools Help

Blog


    November 02

    What is the “Message Limit Of INFOLOG” in Dynamics AX?

     

    AX Developers just play around with infolog framework provided by Microsoft. But did we ever know what the maximum limit which an infolog can hold? Well… The answer is quite simple.

    Quick Lab:

    69320408.png

    Run the following job and it would result in the following warning: “The number of messages exceeds the limit of the Infolog (10000.)”

    So maximum “MESSAGE LIMIT OF THE INFOLOG” in AX is 10000(By Default). But wait!!!!!! you can still increase this limit of an infolog???SmileBy increasing the local constant available inside the info-class in the method viewBuild (first line). (i.e. #define.MaxErrors(10000))

    These messages is generated during the build of the tree, the rest of the Infolog-messages will be skipped, but are available in the temptable sysinfolog. There is another limit, errorsPerBatch, an info-method too, this limit will be checked every time you add a message to the Infolog AND during the build of the tree.

    Comments (4)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Santosh. Rwrote:
    Yeah rightie!!! My bad for not checking out the viewBuild method.
    Nov. 6
    i found a local constant inside the info-class in the method viewBuild (first line),
    so the the limit of 10000 lines in the infolog is NOT a constant from AX Kernel.

    the message is generated during the build of the tree, the rest of the infolog-messages
    will be skipped but are available in the temptable sysinfolog.

    there is an other limit, errorsPerBatch, an info-method too,
    this limit will be checked every time you add a message to the infolog AND
    during the build of the tree also.

    Greets from germany.....
    Sebastian

    Nov. 6
    Santosh. Rwrote:
    Yeah [:)] tanky!!! Anitha.......
    Thanks for visiting my website :)
    Nov. 4
    Anithawrote:
    Thanks for sharing this information :)
    Ur entries are informative..
    Nov. 4

    Trackbacks

    The trackback URL for this entry is:
    http://sangi1983.spaces.live.com/blog/cns!264A0056CBCBB1D3!389.trak
    Weblogs that reference this entry
    • None