<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Common_Log_File_System</id>
	<title>Common Log File System - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Common_Log_File_System"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Common_Log_File_System&amp;action=history"/>
	<updated>2026-10-25T21:32:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Common_Log_File_System&amp;diff=5686991&amp;oldid=prev</id>
		<title>imported&gt;LucasBrown: Adding short description: &quot;Component of the Windows operating system&quot;</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Common_Log_File_System&amp;diff=5686991&amp;oldid=prev"/>
		<updated>2024-05-29T06:10:56Z</updated>

		<summary type="html">&lt;p&gt;Adding &lt;a href=&quot;https://en.wikipedia.org/wiki/Short_description&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Short description&quot;&gt;short description&lt;/a&gt;: &amp;quot;Component of the Windows operating system&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Component of the Windows operating system}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Common Log File System&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;CLFS&amp;#039;&amp;#039;&amp;#039;) is a general-purpose logging subsystem that is accessible to both [[kernel-mode]] as well as [[user-mode]] applications for building high-performance [[transaction (database)|transaction]] logs. It was introduced with [[Windows Server 2003]] R2 and included in later [[Microsoft Windows|Windows]] operating systems. CLFS can be used for both [[Computer data logging|data logging]] as well as for [[event logging]]. CLFS is used by [[TxF]] and [[TxR]] to store transactional state changes before they commit a transaction. Binary Log File(s) created from CLFS can not be viewed by any integrated Windows tool.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
The job of CLFS, like any other transactional logging system, is to record a series of steps required for some action so that they can be either played back accurately in the future to commit the transaction to secondary storage or undone if required. CLFS first [[Marshalling (computer science)|marshals]] logs records to in-memory buffers and then writes them to log-files on [[secondary storage]] (&amp;#039;&amp;#039;stable media&amp;#039;&amp;#039; in CLFS terminology) for permanent persistence. When the data will be flushed to stable media is controlled by built-in policies, but a CLFS client application can override that and force a flush. CLFS allows for customizable log formats, expansion and truncation of logs according to defined policies, as well as simultaneous use by multiple client applications. CLFS is able to store log files anywhere on the file system.&amp;lt;ref name=&amp;quot;clfs&amp;quot;&amp;gt;{{cite web | url = https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/introduction-to-the-common-log-file-system | title = Introduction to the Common Log File System | publisher = [[MSDN]] | access-date = 2018-01-08}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CLFS defines a [[device driver]] [[interface (computing)|interface]] (DDI), via which physical storage system specific drivers plug into the CLFS API. The CLFS driver implements the [[Algorithms for Recovery and Isolation Exploiting Semantics|ARIES]] recovery algorithm; other algorithms can be supported by using custom drivers.&amp;lt;ref name=&amp;quot;clfs&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CLFS supports both dedicated logs, as well as multiplexed logs. A dedicated log contains a single stream of log records whereas multiplexed log contain multiple streams, each stream for a different application. Even though a multiplexed log has multiple streams, logs are flushed to the streams sequentially, in a single batch. CLFS can allocate space for a set of log records ahead-of-time (before the logs are actually generated) to make sure the operation does not fail due to lack of storage space.&amp;lt;ref name=&amp;quot;clfs&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A log record in a CLFS stream is first placed to &amp;#039;&amp;#039;Log I/O Block&amp;#039;&amp;#039; in a buffer in system memory. Periodically blocks are flushed to stable storage devices. On the storage device, a log contains a set of &amp;#039;&amp;#039;Containers&amp;#039;&amp;#039;, which are allocated contiguously, each containing multiple Log I/O Blocks. New log records are appended to the present set. Each record is identified by a &amp;#039;&amp;#039;Log Sequence Number&amp;#039;&amp;#039; (LSN), an increasing 32-bit sequence number. The LSN and other metadata are stored in the record header. The LSN encodes the identifier of the container, the offset to the record and the identifier of the record - this information is used to access the log record subsequently. However, the container identifiers are logical identifiers, they must be mapped to physical containers. The mapping is done by CLFS itself.&amp;lt;ref name=&amp;quot;stable&amp;quot;&amp;gt;{{cite web | url = https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/clfs-stable-storage | title = CLFS Stable Storage | publisher = [[MSDN]] | access-date = 2018-01-08}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://msdn2.microsoft.com/en-us/library/bb986747.aspx Common Log File System (Windows SDK)]&lt;br /&gt;
*[https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/using-common-log-file-system Common Log File System (Windows Driver Kit)]&lt;br /&gt;
*[http://www.devx.com/VistaSpecialReport/Article/33848/1954?pf=true Fast and Flexible Logging with Vista&amp;#039;s Common Log File System]&lt;br /&gt;
&lt;br /&gt;
{{Windows Components}}&lt;br /&gt;
{{Microsoft APIs}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Microsoft application programming interfaces]]&lt;br /&gt;
[[Category:Windows components]]&lt;br /&gt;
[[Category:Log file formats]]&lt;/div&gt;</summary>
		<author><name>imported&gt;LucasBrown</name></author>
	</entry>
</feed>