summaryrefslogtreecommitdiffstats
path: root/ldap/docs/dirhlp/help/configtab_logs3.htm
blob: cf9cf20df5087e59737f84b317aa396b58a482c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<html>


<!--This html file is XHTML complaint, as set forth in the
w3c recommendations except for the following:
Lists work as they do in older versions on HTML and not as
directed in XHTML. 
The <a name=" "> tags have targets that use spaces. -->


<head>
<meta name="keywords" content="e-commerce, ecommerce, Netscape, Internet software, e-commerce applications, electronic commerce, ebusiness, e-business, enterprise software, net economy, software, ecommerce solutions, e-commerce services, AOL, America Online, netscape software, netscape solutions, marketplace, digital marketplace" />
<meta name="description" content="Netscape, an AOL Time Warner Company, produces the world renowned
Netscape Browser as well as top notch server software." />
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta name="templatebase" content="Authored in FrameMaker. Converted to HTML  in WebWorks Publisher. manual wdt 1.6" />
<meta name="LASTUPDATED" content="10/20/03 15:42:42" />
<title>Netscape Directory Server Help: Audit Log</title>


<!--The following is a javascript which determines whether the client
is on a Windows machine, or is on another type of operating system. Once
the operating system is determined, either a windows or other operating
system cascading style sheet is used. -->
<script type="text/JavaScript" src="/manual/en/slapd/help/sniffer.js">

</script>


</head>




<body text="#000000" link="#006666" vlink="#006666" alink="#333366" bgcolor="#FFFFFF">

<!--maincontent defines everything between the body tags -->
<!--start maincontent-->

<!--navigationcontent defines the top row of links and the banner -->
<!--start navigationcontent-->

<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="bottom" width="67">
<img src="/manual/en/slapd/help/netscape32.gif" height="32" width="32" border="0" alt="Netscape logo" />
</td>
<td valign="middle">
<span class="product">Netscape Directory Server</span>
<span class="booktitle">Console Help</span>
</td>
</tr>
</table>
</td>
</tr>

<tr>
<td>
<hr size="1" noshade="noshade" />








<span class="navigation">
<a style="text-decoration: none; color:#006666" href="/manual/en/slapd/index.htm">
DocHome
</a>
</span>
&nbsp;&nbsp;&nbsp;&nbsp;




</td>
</tr>
</table>

<!--end navigationcontent-->

<!--bookcontent defines the actual content of the file, sans headers and footers -->
<!--start bookcontent-->

<blockquote>
<br />
<p class="h1">
<a name="28804"> </a>
<a name="Audit Log"> </a>
Audit Log
</p>

<p class="text">
<a name="28806"> </a>
Use this tab to configure the directory's audit log. The audit log contains detailed information about changes made to each database as well as to the overall server configuration.
</p>
<p class="text">
<a name="28807"> </a>
<b>Enable logging. </b>Select this checkbox to configure the server to keep an audit log; clear this checkbox to disable audit logging.
</p>
<p class="text">
<a name="28808"> </a>
<b>View Log. </b>Click this button to view the audit log for the directory.
</p>
<p class="text">
<a name="28809"> </a>
<b>Log File. </b>Contains the full path and name of the audit log. By default, the value is: 
</p>
<p class="code">
<a name="29225"></a>
<span class="variable">serverRoot</span>/slapd-<span class="variable">serverID</span>/logs/audit

</p><p class="text">
<a name="28810"> </a>
<b>Creation Policy. </b>These options allow you to specify how often the server archives the current audit log and starts a new log file.
</p>
<p class="text">
<a name="28881"> </a>
<b>Access mode. </b>Indicates the access mode or UNIX file permissions with which log files are to be created. The default value is 600. 
</p>
<p class="text">
<a name="29030"> </a>
The valid values are any combination of 000 to 777, as they mirror <em>numbered</em> or <em>absolute</em> UNIX file permissions. That is, the value must be a combination of a 3-digit number, the digits varying from 0 through 7:
</p>
<p class="text">
<a name="28958"> </a>
0 - None<br />1 - Execute only<br />2 - Write only<br />3 - Write and execute<br />4 - Read only<br />5 - Read and execute<br />6 - Read and write<br />7 - Read, write, and execute
</p>
<p class="text">
<a name="29032"> </a>
In the 3-digit number, the first digit represents the owner's permissions, the second digit represents the group's permissions, and the third digit represents everyone's permissions. When changing the default value, keep in mind that 000 will not allow access to the logs and allowing <em>write</em> permissions to <em>everyone</em> can result in the logs being overwritten or deleted by anyone.
</p>
<p class="text">
<a name="29203"> </a>
Note that the newly configured access mode will only affect new logs that are created; the mode will be set when the log rotates to a new file.
</p>
<p class="text">
<a name="28811"> </a>
<b>Maximum number of logs. </b>The number of logs to archive per directory.
</p>
<p class="text">
<a name="28812"> </a>
<b>File size for each log. </b>The maximum file size (in MB) for active audit log files. Once a file reaches the size you specify, the server archives the file and starts a new one.
</p>
<p class="text">
<a name="28813"> </a>
<b>Create a new log every. </b>How often you want the server to start a new audit log. The server archives a log file if the size of the file reaches the maximum file size or the specified time limit has elapsed, whichever comes first.
</p>
<p class="text">
<a name="28814"> </a>
<b>Deletion Policy. </b>These options allow you to configure the server to delete unneeded archived audit log files.
</p>
<p class="text">
<a name="28815"> </a>
<b>When total log exceeds. </b>The server will delete the oldest archived audit log once the total of all the logs reaches this amount.
</p>
<p class="text">
<a name="28816"> </a>
<b>When free disk space is less than. </b>The server will delete the oldest archived audit log if the available disk space is less than this amount.
</p>
<p class="text">
<a name="28817"> </a>
<b>When a file is older than. </b>The server will delete an archived audit log when the file is older than the age you specify.
</p>
<p class="h2">
<a name="28818"> </a>
<a name="See also"> </a>
See also
</p>


<p class="text">
<a name="28821"> </a>
<a href="../en/slapd/ag/dsstats.htm#1057137">Viewing and Configuring Log Files</a>
</p>

</blockquote>
<!--end bookcontent-->
<!--footercontent defines the bottom navigation and the copyright. It also includes
the revision date-->
<!--start footercontent-->


<br />
<br />








<span class="navigation">
<a style="text-decoration: none; color:#006666" href="/manual/en/slapd/index.htm">
DocHome
</a>
</span>
&nbsp;&nbsp;&nbsp;&nbsp;



        
<hr noshade="noshade" size="1" />
<p class="copy">&copy; 2001 Sun Microsystems, Inc. Portions copyright 1999, 2002-2003 Netscape Communications Corporation. All rights reserved.</p>
<br />
<p class="update">Last Updated <b>October 20, 2003</b></p>
    

<!--end footercontent-->
<!--end maincontent-->
</body>
</html>