What is a LG2 File Type?
MSMQ allows communication between applications that operate on separate networks and at different times. When an application sends a message to an application on another network that is currently offline, the message is placed in a queue d' waiting. When the receiver application becomes accessible, the message (s) stored in the queue d' wait is sent.
All messages exchanged between applications are saved in MQ files. These files may contain messages from a single queue of waiting or multiple waiting files; waiting and can reach a size of 4MB. Once they reach 4MB, another MQ file is generated. Since the messages can occur over a long period of time, information is written in LG1 and LG2 to save the file; status of the file MQ in case something happens to it.
You will probably only encounter an LG2 MSMQ file if you are a developer of a system that uses MSMQ and you explore the MSMQ\ Storage folder. It also contains one or more MQ files for which LG1 and LG2 files were created to store logs.
The MSMQ protocol was developed by Microsoft and introduced in Windows NT 4 and Windows 95.
What is a Default LG2 File Name?
MQInSeqs.lg2 - Contains log messages by connected applications.
MQTrans.lg2 - Contains a log of transactions between applications.