📄 settings_logs.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Logs</title>
<meta content="text/html; charset=us-ascii" http-equiv="content-type">
<link href="office11.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>Logs</h1>
<dl style="margin-left: 40px;">
<dt>Directory</dt>
<dd>All logs generated by DC++ will be put in this subdirectory.</dd>
<dd><span style="font-weight: bold;">Default:</span> The "Logs" subdirectory under where you've installed
the application.</dd>
<dt>Log Main Chat</dt>
<dd>Enables logging of the main chat of any hubs you're in.</dd>
<dt>Main Chat Log Format </dt>
<dd>%[message] - Main chat message<span style="font-weight: bold;"></span></dd>
<dd><span style="font-weight: bold;">Default format:</span> [%Y-%m-%d %H:%M] %[message] </dd>
<dt>Log Private Chat</dt>
<dd>Enables logging of Private Messages. </dd>
<dt>Private Chat Log Format </dt>
<dd>%[message] - Private chat message<span style="font-weight: bold;"></span></dd>
<dd><span style="font-weight: bold;">Default format:</span> [%Y-%m-%d %H:%M] %[message] </dd>
<dt>Log Downloads</dt>
<dd>Enables logging of completed downloads. File list downloads may not be logged if you've
<a href="#filelist">disabled them</a>.
</dd>
<dt>Log Uploads</dt>
<dd>Enables logging of completed uploads.
File list uploads may not be logged if you've
<a href="#filelist">disabled them</a>.</dd>
<dt>Download and Upload Log Format </dt>
<dd>%[userNI] - User's nickname<br>
%[userI4] - User's IP address<br>
%[hubNI] - Hub name<br>
%[hubURL] - Hub's IP address<br>
%[fileSI] - File Size<br>
%[fileSIshort] - File size, shortened and including units<br>
%[fileSIchunk] - Size uploaded this session<br>
%[fileSIchunkshort] - Size uploaded this session, short and including
units<br>
%[fileSIactual] - Actual uploaded bytes, affected by compression<br>
%[fileSIactualshort] - Actual uploaded bytes, short and including units<br>
%[speed] - Speed of the transfer<br>
%[time] - Elapsed time of the transfer<br>
%[sfv] - Whether the file was checked against a SFV file (0 = no, 1 =
yes).<br>
%[tth] - Base32 representation of the tiger tree root hash<br>
Only for Download log: %[target] - Local path and filename<br>
Only for Upload log: %[source] - Local path for the upload.</dd>
<dd><b>Default download log format:</b> %Y-%m-%d %H:%M: %[target] downloaded from %[userNI] (%[userCID]), %[fileSI] (%[fileSIchunk]), %[speed], %[time]<br>
<b>Default upload log format:</b> %Y-%m-%d %H:%M: %[source] uploaded to %[userNI] (%[userCID]), %[fileSI] (%[fileSIchunk]), %[speed], %[time]<br>
</dd>
<dt><a name="filelist"></a>Log Filelist transfers</dt>
<dd>Add successful file list transfers to your upload and
download logs. Otherwise only transferred files are logged. <em>Disabled
by default.</em></dd>
<dt><a name="system"></a>Log System Messages</dt>
<dd>Enables logging of system-level messages. Examples of
such messages are: notifications of files that have finished hashing,
share refreshes, discovery of duplicate files, and disconnections of
users who leave the hub (if <a href="settings_advanced.html#disconnect">enabled</a>).</dd>
<dt>System Log Format</dt>
<dd>%[message] - System log message<span style="font-weight: bold;"></span></dd>
<dd><span style="font-weight: bold;">Default: </span>[%Y-%m-%d %H:%M] %[message]</dd>
<dt>Log Status Messages</dt>
<dd>Enables the logging of status messages. Examples of such messages
are: Connected to (and disconnected from ) hub, kicked, and banned
messages. In short all messages that would appear below the chat input
in the hub windows.</dd>
<dt>Hub Status Log Format</dt>
<dd>%[message] - Hub status message</dd>
<dd><span style="font-weight: bold;">Default: </span>[%Y-%m-%d %H:%M] %[message]</dd>
<dt><a name="timeformat"></a>General Time Format Variables</dt>
<dd>The following time variables can be used in any of the log
formats.</dd>
<dd><strong>%a</strong> - Abbreviated weekday name<br>
<strong>%A</strong> - Full weekday name<br>
<strong>%b</strong> - Abbreviated month name<br>
<strong>%B</strong> - Full month name<br>
<strong>%c</strong> - Date and time representation appropriate for
locale<br>
<strong>%d</strong> - Day of month as decimal number (01 - 31)<br>
<strong>%H</strong> - Hour in 24-hour format (00 - 23)<br>
<strong>%I</strong> - Hour in 12-hour format (01 - 12)<br>
<strong>%j</strong> - Day of year as decimal number (001 - 366)<br>
<strong>%m</strong> - Month as decimal number (01 - 12)<br>
<strong>%M</strong> - Minute as decimal number (00 - 59)<br>
<strong>%p</strong> - Current locale's A.M./P.M. indicator for
12-hour clock<br>
<strong>%S</strong> - Second as decimal number (00 - 59)<br>
<strong>%U</strong> - Week of year as decimal number, with Sunday
as first day of week (00 - 53)<br>
<strong>%w</strong> - Weekday as decimal number (0 - 6; Sunday is 0)<br>
<strong>%W</strong> - Week of year as decimal number, with Monday
as first day of week (00 - 53)<br>
<strong>%x</strong> - Date representation for current locale<br>
<strong>%X</strong> - Time representation for current locale<br>
<strong>%y</strong> - Year without century, as decimal number (00 -
99)<br>
<strong>%Y</strong> - Year with century, as decimal number<br>
<strong>%z</strong>, <strong>%Z</strong> - Either the time-zone
name or time zone abbreviation, depending on registry settings; no
characters if time zone is unknown</dd>
<dt>File Name Format</dt>
<dd>This enables you to name and rotate your logs. The following
parameters can be used for Main / Private chat:<br>
%[hubNI] - Name of hub (not known until connected)<br>
%[hubURL] - Address (and port if non standard) of hub<br>
%[userNI] - User's nick (only Private chat)<br>
%[userCID] - User's CID<br>
%[myCID] - Your own CID<br>
%[myNI] - Your nick<br>
<br>
The general time format variables can be used in all file name formats.<br>
</dd>
<dd style="font-style: italic;">If there are illegal characters in
the filename, such as colons, they will be replaced with underscores.</dd>
<dd>Ex: Main chat: %[hubaddr]\%Y-%m.log - would result in this:
example.no-ip.org\2004-12.log (if you are in the hub example.no-ip.org
and it is december 2004)<br>
<span style="font-weight: bold;">
Default</span></dd>
</dl>
<ul>
<ul>
<ul>
<li>Hub chat: %[hubURL].log</li>
<li>Hub status: %[hubURL]_status.log</li>
<li>Private message: %[userNI].%[userCID].log</li>
<li>Download: Downloads.log</li>
<li> Upload:
Uploads.log</li>
<li>System: system.log</li>
</ul>
</ul>
</ul>
<dl style="margin-left: 40px;">
</dl>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -