Home : File Types : LG2 File

.LG2 File Extension

File TypeMessage Queuing Message State File

1.0 (1 Vote)
CategoryData Files

What is an LG2 file?

An LG2 file is a log file created by Microsoft Message Queuing (MSMQ), a technology implemented in Windows for asynchronous communication between applications across different networks. It contains information about the state of a Queueing Message log (QMLog) .MQ file that is currently being written to by MSMQ. LG2 files temporarily store message information, along with .LG1 files, in case the MQ file becomes corrupt during the writing process.

More Information

MSMQ allows applications that are running across separate networks and at different times to communicate with each other. When an application sends a message to an application on another network that is currently offline, the message is placed in a queue. When the receiving application becomes accessible, the message(s) stored in the queue is sent.

The messages communicated between applications are saved in MQ files. These files may contain messages from a single queue or from multiple queues and may grow up to 4 MB in size. Once they reach 4 MB, another MQ file is generated. Since messages may occur over a long span of time, information is written to LG1 and LG2 files to log the state of the MQ file in case anything happens to it.

You will most likely only encounter an MSMQ LG2 file if you are a developer of a system that utilizes MSMQ and are exploring the MSMQ\Storage folder. This folder also contains one or more MQ files for which the LG1 and LG2 files were created to store logs.

NOTE: The MSMQ messaging protocol was developed by Microsoft and introduced in Windows NT 4 and Windows 95.

Common LG2 Filenames

MQInSeqs.lg2 - Contains a log of messages by connected applications.

MQTrans.lg2 - Contains a log of transaction operations between application.

Open over 400 file formats with File Viewer Plus.

Programs that open LG2 files

Updated 3/31/2020

About LG2 Files

Our goal is to help you understand what a file with a *.lg2 suffix is and how to open it.

The Message Queuing Message State file type, file format description, and Windows programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.