Home > X++ stuffs > What is the “Message Limit Of INFOLOG” in Dynamics AX?

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.

Advertisements
Categories: X++ stuffs
  1. Santosh.
    November 6, 2009 at 6:02 pm

    Yeah rightie!!! My bad for not checking out the viewBuild method.

  2. Sebastian
    November 6, 2009 at 2:19 pm

    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-messageswill 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 ANDduring the build of the tree also.Greets from germany…..Sebastian

  3. Santosh.
    November 4, 2009 at 10:08 pm

    Yeah [:)] tanky!!! Anitha……. Thanks for visiting my website 🙂

  4. Anitha
    November 4, 2009 at 5:53 pm

    Thanks for sharing this information 🙂 Ur entries are informative..

  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: