<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[15696] CalendarServer/trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.calendarserver.org//changeset/15696">15696</a></dd>
<dt>Author</dt> <dd>sagen@apple.com</dd>
<dt>Date</dt> <dd>2016-06-23 14:57:12 -0700 (Thu, 23 Jun 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add some stdconfig comments</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#CalendarServertrunkconfcaldavdstdconfigplist">CalendarServer/trunk/conf/caldavd-stdconfig.plist</a></li>
<li><a href="#CalendarServertrunktwistedcaldavstdconfigpy">CalendarServer/trunk/twistedcaldav/stdconfig.py</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="CalendarServertrunkconfcaldavdstdconfigplist"></a>
<div class="modfile"><h4>Modified: CalendarServer/trunk/conf/caldavd-stdconfig.plist (15695 => 15696)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/conf/caldavd-stdconfig.plist        2016-06-23 19:55:00 UTC (rev 15695)
+++ CalendarServer/trunk/conf/caldavd-stdconfig.plist        2016-06-23 21:57:12 UTC (rev 15696)
</span><span class="lines">@@ -271,30 +271,40 @@
</span><span class="cx"> 
</span><span class="cx">         &lt;!-- Data store --&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- The top level directory, contains (by default) ConfigRoot and DataRoot --&gt;
</ins><span class="cx">         &lt;key&gt;ServerRoot&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;/var/db/caldavd&lt;/string&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- Data directory, parent to DatabaseRoot, AttachmentsRoot, and others --&gt;
</ins><span class="cx">         &lt;key&gt;DataRoot&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;Data&lt;/string&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- Database directory, contains PostgreSQL cluster --&gt;
</ins><span class="cx">         &lt;key&gt;DatabaseRoot&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;Database&lt;/string&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- Attachments directory, where file attachments are stored --&gt;
</ins><span class="cx">         &lt;key&gt;AttachmentsRoot&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;Attachments&lt;/string&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- Documents directory, contains files to be served as HTTP resources at the
+             root level --&gt;
</ins><span class="cx">         &lt;key&gt;DocumentRoot&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;Documents&lt;/string&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- Config directory, contains additional config files --&gt;
</ins><span class="cx">         &lt;key&gt;ConfigRoot&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;Config&lt;/string&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- Log directory, contains access.log, error.log and others --&gt;
</ins><span class="cx">         &lt;key&gt;LogRoot&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;/var/log/caldavd&lt;/string&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- Run-time directory, contains PID files and UNIX socket files --&gt;
</ins><span class="cx">         &lt;key&gt;RunRoot&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;/var/run/caldavd&lt;/string&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- WebCal directory, contains HTML implementing the web calendar --&gt;
</ins><span class="cx">         &lt;key&gt;WebCalendarRoot&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;/Applications/Server.app/Contents/ServerRoot/usr/share/collabd/webcal/public&lt;/string&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -559,15 +569,17 @@
</span><span class="cx">         &lt;key&gt;AccessLogFile&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;access.log&lt;/string&gt;
</span><span class="cx"> 
</span><del>-        &lt;!-- Server activity log --&gt;
</del><ins>+        &lt;!-- Server activity log (the verbosity is controlled by DefaultLogLevel and
+             LogLevels keys) --&gt;
</ins><span class="cx">         &lt;key&gt;ErrorLogFile&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;error.log&lt;/string&gt;
</span><span class="cx"> 
</span><del>-        &lt;!-- Agent activity log --&gt;
</del><ins>+        &lt;!-- Agent activity log (only applies to Server.app edition) --&gt;
</ins><span class="cx">         &lt;key&gt;AgentLogFile&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;agent.log&lt;/string&gt;
</span><span class="cx"> 
</span><del>-        &lt;!-- Utility log - name will be dynamically changed to executable name --&gt;
</del><ins>+        &lt;!-- Utility log (used for command line utilities; the name will be dynamically
+             changed to that of the utility being run) --&gt;
</ins><span class="cx">         &lt;key&gt;UtilityLogFile&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;utility.log&lt;/string&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -599,13 +611,18 @@
</span><span class="cx">         &lt;key&gt;EnableExtendedTimingAccessLog&lt;/key&gt;
</span><span class="cx">         &lt;false/&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- Controls the verbosity of ErrorLogFile (valid values are error, warn,
+             info, debug; default is info) --&gt;
</ins><span class="cx">         &lt;key&gt;DefaultLogLevel&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;&lt;/string&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- Allows overriding log levels on a per-package, per-module, or even per-
+             class basis --&gt;
</ins><span class="cx">         &lt;key&gt;LogLevels&lt;/key&gt;
</span><span class="cx">         &lt;dict&gt;
</span><span class="cx">         &lt;/dict&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- Used internally to track which worker process is logging a message --&gt;
</ins><span class="cx">         &lt;key&gt;LogID&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;&lt;/string&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -652,6 +669,8 @@
</span><span class="cx">         &lt;array&gt;
</span><span class="cx">         &lt;/array&gt;
</span><span class="cx"> 
</span><ins>+        &lt;!-- The parent directory for accounting log directories (by default, relative
+             to LogRoot) --&gt;
</ins><span class="cx">         &lt;key&gt;AccountingLogRoot&lt;/key&gt;
</span><span class="cx">         &lt;string&gt;accounting&lt;/string&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -770,7 +789,7 @@
</span><span class="cx">                 &lt;true/&gt;
</span><span class="cx">         &lt;/dict&gt;
</span><span class="cx"> 
</span><del>-        &lt;!-- Service ACLs --&gt;
</del><ins>+        &lt;!-- If enabled, will honor macOS Server ACLs to control access --&gt;
</ins><span class="cx">         &lt;key&gt;EnableSACLs&lt;/key&gt;
</span><span class="cx">         &lt;false/&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="CalendarServertrunktwistedcaldavstdconfigpy"></a>
<div class="modfile"><h4>Modified: CalendarServer/trunk/twistedcaldav/stdconfig.py (15695 => 15696)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/twistedcaldav/stdconfig.py        2016-06-23 19:55:00 UTC (rev 15695)
+++ CalendarServer/trunk/twistedcaldav/stdconfig.py        2016-06-23 21:57:12 UTC (rev 15696)
</span><span class="lines">@@ -278,15 +278,15 @@
</span><span class="cx">     #
</span><span class="cx">     # Data store
</span><span class="cx">     #
</span><del>-    &quot;ServerRoot&quot;: &quot;/var/db/caldavd&quot;,
-    &quot;DataRoot&quot;: &quot;Data&quot;,
-    &quot;DatabaseRoot&quot;: &quot;Database&quot;,
-    &quot;AttachmentsRoot&quot;: &quot;Attachments&quot;,
-    &quot;DocumentRoot&quot;: &quot;Documents&quot;,
-    &quot;ConfigRoot&quot;: &quot;Config&quot;,
-    &quot;LogRoot&quot;: &quot;/var/log/caldavd&quot;,
-    &quot;RunRoot&quot;: &quot;/var/run/caldavd&quot;,
-    &quot;WebCalendarRoot&quot;: &quot;/Applications/Server.app/Contents/ServerRoot/usr/share/collabd/webcal/public&quot;,
</del><ins>+    &quot;ServerRoot&quot;: &quot;/var/db/caldavd&quot;, # The top level directory, contains (by default) ConfigRoot and DataRoot
+    &quot;DataRoot&quot;: &quot;Data&quot;, # Data directory, parent to DatabaseRoot, AttachmentsRoot, and others
+    &quot;DatabaseRoot&quot;: &quot;Database&quot;, # Database directory, contains PostgreSQL cluster
+    &quot;AttachmentsRoot&quot;: &quot;Attachments&quot;, # Attachments directory, where file attachments are stored
+    &quot;DocumentRoot&quot;: &quot;Documents&quot;, # Documents directory, contains files to be served as HTTP resources at the root level
+    &quot;ConfigRoot&quot;: &quot;Config&quot;, # Config directory, contains additional config files
+    &quot;LogRoot&quot;: &quot;/var/log/caldavd&quot;, # Log directory, contains access.log, error.log and others
+    &quot;RunRoot&quot;: &quot;/var/run/caldavd&quot;, # Run-time directory, contains PID files and UNIX socket files
+    &quot;WebCalendarRoot&quot;: &quot;/Applications/Server.app/Contents/ServerRoot/usr/share/collabd/webcal/public&quot;, # WebCal directory, contains HTML implementing the web calendar
</ins><span class="cx"> 
</span><span class="cx">     #
</span><span class="cx">     # Quotas
</span><span class="lines">@@ -413,9 +413,9 @@
</span><span class="cx">     # Logging
</span><span class="cx">     #
</span><span class="cx">     &quot;AccessLogFile&quot;  : &quot;access.log&quot;, # Apache-style access log
</span><del>-    &quot;ErrorLogFile&quot;   : &quot;error.log&quot;, # Server activity log
-    &quot;AgentLogFile&quot;   : &quot;agent.log&quot;, # Agent activity log
-    &quot;UtilityLogFile&quot; : &quot;utility.log&quot;, # Utility log - name will be dynamically changed to executable name
</del><ins>+    &quot;ErrorLogFile&quot;   : &quot;error.log&quot;, # Server activity log (the verbosity is controlled by DefaultLogLevel and LogLevels keys)
+    &quot;AgentLogFile&quot;   : &quot;agent.log&quot;, # Agent activity log (only applies to Server.app edition)
+    &quot;UtilityLogFile&quot; : &quot;utility.log&quot;, # Utility log (used for command line utilities; the name will be dynamically changed to that of the utility being run)
</ins><span class="cx">     &quot;ErrorLogEnabled&quot;   : True, # True = use log file, False = stdout
</span><span class="cx">     &quot;ErrorLogRotateMB&quot;  : 10, # Rotate error log after so many megabytes
</span><span class="cx">     &quot;ErrorLogMaxRotatedFiles&quot;  : 5, # Retain this many error log files
</span><span class="lines">@@ -424,9 +424,9 @@
</span><span class="cx">     &quot;RotateAccessLog&quot;   : False,
</span><span class="cx">     &quot;EnableExtendedAccessLog&quot;: True,
</span><span class="cx">     &quot;EnableExtendedTimingAccessLog&quot;: False,
</span><del>-    &quot;DefaultLogLevel&quot;   : &quot;&quot;,
-    &quot;LogLevels&quot;         : {},
-    &quot;LogID&quot;             : &quot;&quot;,
</del><ins>+    &quot;DefaultLogLevel&quot;   : &quot;&quot;, # Controls the verbosity of ErrorLogFile (valid values are error, warn, info, debug; default is info)
+    &quot;LogLevels&quot;         : {}, # Allows overriding log levels on a per-package, per-module, or even per-class basis
+    &quot;LogID&quot;             : &quot;&quot;, # Used internally to track which worker process is logging a message
</ins><span class="cx"> 
</span><span class="cx">     &quot;AccountingCategories&quot;: {
</span><span class="cx">         &quot;HTTP&quot;: False, # Log regular HTTP requests
</span><span class="lines">@@ -440,7 +440,7 @@
</span><span class="cx">         &quot;migration&quot;: False, # Log cross-pod migration details
</span><span class="cx">     },
</span><span class="cx">     &quot;AccountingPrincipals&quot;: [],
</span><del>-    &quot;AccountingLogRoot&quot;   : &quot;accounting&quot;,
</del><ins>+    &quot;AccountingLogRoot&quot;   : &quot;accounting&quot;, # The parent directory for accounting log directories (by default, relative to LogRoot)
</ins><span class="cx"> 
</span><span class="cx">     &quot;Stats&quot; : {
</span><span class="cx">         &quot;EnableUnixStatsSocket&quot;  : False,
</span><span class="lines">@@ -496,7 +496,7 @@
</span><span class="cx">         &quot;ResidentOnly&quot; : True,  # True: only take into account resident memory; False: include virtual memory
</span><span class="cx">     },
</span><span class="cx"> 
</span><del>-    &quot;EnableSACLs&quot;: False, # Service ACLs
</del><ins>+    &quot;EnableSACLs&quot;: False, # If enabled, will honor macOS Server ACLs to control access
</ins><span class="cx"> 
</span><span class="cx">     &quot;EnableReadOnlyServer&quot;: False, # Make all data read-only
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>