<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>PleskHacker &#187; log_rotation</title> <atom:link href="http://pleskhacker.com/tag/log_rotation/feed/" rel="self" type="application/rss+xml" /><link>http://pleskhacker.com</link> <description>Detailed documentation of the Plesk database</description> <lastBuildDate>Thu, 03 Jun 2010 13:00:52 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>psa.log_rotation</title><link>http://pleskhacker.com/all-tables/domains-all-tables/psalog_rotation/</link> <comments>http://pleskhacker.com/all-tables/domains-all-tables/psalog_rotation/#comments</comments> <pubDate>Wed, 24 Sep 2008 03:52:14 +0000</pubDate> <dc:creator>major</dc:creator> <category><![CDATA[All Tables]]></category> <category><![CDATA[Domains]]></category> <category><![CDATA[domains]]></category> <category><![CDATA[log_rotation]]></category><guid isPermaLink="false">http://pleskhacker.com/?p=225</guid> <description><![CDATA[Overview The log_rotation table contains configuration details for log rotation at the domain level. Column Descriptions id &#8211; links to id in domains table period_type &#8211; can be by_time or by_size period &#8211; which interval to run log rotation max_number_of_logfiles &#8211; how many log files to leave in place besides the current one compress_enable &#8211; [...]]]></description> <content:encoded><![CDATA[<p><strong><span style="text-decoration: underline;">Overview</span></strong><br /> The <code>log_rotation</code> table contains configuration details for log rotation at the domain level.</p><p><strong><span style="text-decoration: underline;">Column Descriptions</span></strong><br /> <strong>id</strong> &#8211; links to <code>id</code> in <code><a href="/all-tables/psa_domains/">domains</a></code> table<br /> <strong>period_type</strong> &#8211; can be <code>by_time</code> or <code>by_size</code><br /> <strong>period</strong> &#8211; which interval to run log rotation<br /> <strong>max_number_of_logfiles</strong> &#8211; how many log files to leave in place besides the current one<br /> <strong>compress_enable</strong> &#8211; <code>true</code> if logs should be compressed after rotation, otherwise <code>false</code><br /> <strong>email</strong> &#8211; contains e-mail address if old logs should be e-mailed, otherwise empty<br /> <strong>turned_on</strong> &#8211; <code>true</code> if enabled, otherwise <code>disabled</code></p><p><strong><span style="text-decoration: underline;">Table Structure</span></strong></p><div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> <span style="color: #008000;">`log<span style="color: #008080; font-weight: bold;">_</span>rotation`</span> <span style="color: #FF00FF;">&#40;</span>
 <span style="color: #008000;">`id`</span> <span style="color: #999900; font-weight: bold;">int</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">10</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #FF9900; font-weight: bold;">unsigned</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #FF9900; font-weight: bold;">auto_increment</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`period<span style="color: #008080; font-weight: bold;">_</span>type`</span> <span style="color: #999900; font-weight: bold;">enum</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">'by<span style="color: #008080; font-weight: bold;">_</span>time'</span><span style="color: #000033;">,</span><span style="color: #008000;">'by<span style="color: #008080; font-weight: bold;">_</span>size'</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #008000;">'by<span style="color: #008080; font-weight: bold;">_</span>time'</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`period`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">50</span><span style="color: #FF00FF;">&#41;</span> character <span style="color: #990099; font-weight: bold;">set</span> <span style="color: #000099;">ascii</span> <span style="color: #CC0099; font-weight: bold;">collate</span> ascii_bin <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`max<span style="color: #008080; font-weight: bold;">_</span>number<span style="color: #008080; font-weight: bold;">_</span>of<span style="color: #008080; font-weight: bold;">_</span>logfiles`</span> <span style="color: #999900; font-weight: bold;">bigint</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">20</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #FF9900; font-weight: bold;">unsigned</span> <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #008000;">'0'</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`compress<span style="color: #008080; font-weight: bold;">_</span>enable`</span> <span style="color: #999900; font-weight: bold;">enum</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">'false'</span><span style="color: #000033;">,</span><span style="color: #008000;">'true'</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #008000;">'false'</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`email`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">255</span><span style="color: #FF00FF;">&#41;</span> character <span style="color: #990099; font-weight: bold;">set</span> utf8 <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`turned<span style="color: #008080; font-weight: bold;">_</span>on`</span> <span style="color: #999900; font-weight: bold;">enum</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">'false'</span><span style="color: #000033;">,</span><span style="color: #008000;">'true'</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #008000;">'false'</span><span style="color: #000033;">,</span>
 <span style="color: #990099; font-weight: bold;">PRIMARY KEY</span>  <span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">`id`</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span> <span style="color: #990099; font-weight: bold;">ENGINE</span><span style="color: #CC0099;">=</span><span style="color: #990099; font-weight: bold;">InnoDB</span> <span style="color: #FF9900; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #CC0099;">=</span><span style="color: #008080;">138</span> <span style="color: #990099; font-weight: bold;">DEFAULT</span> <span style="color: #FF9900; font-weight: bold;">CHARSET</span><span style="color: #CC0099;">=</span>latin1</pre></div></div>]]></content:encoded> <wfw:commentRss>http://pleskhacker.com/all-tables/domains-all-tables/psalog_rotation/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)
Database Caching using disk: basic
Object Caching 195/233 objects using disk: basic

Served from: pleskhacker.com @ 2012-02-06 07:03:47 -->
