mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 15:59:41 +08:00
Documentation update + add SQL example to git
This commit is contained in:
1 parent
68e8530f85
commit
19643f0d66
6 files changed
+115
-5
No files matched your search
@@ -287,10 +287,10 @@ logformat "L%t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T"
|
||||
<p>
|
||||
If ODBC used, logformat should specify SQL command,
|
||||
to insert record into log, for example
|
||||
<p><font face="courier">
|
||||
logformat "GINSERT INTO proxystat VALUES (%t, '%c', '%U', %I)"
|
||||
</font>
|
||||
<p><pre>
|
||||
logformat "-\'+_GINSERT INTO proxystat VALUES (%t, '%c', '%U', %I)"</pre>
|
||||
<br>(no line breaks)
|
||||
<br>-\'+_ instructs to replace characters \ and ' with _
|
||||
</p>
|
||||
<li><A NAME="LOGANALIZERS">How to use log analizers with 3proxy</A>
|
||||
<p>
|
||||
|
||||
@@ -304,7 +304,9 @@
|
||||
При использовании ODBC, logformat должен задавать формат SQL команды,
|
||||
которую необходимо дать для внесения записи в журнал, например:
|
||||
<pre>
|
||||
logformat "GINSERT INTO proxystat VALUES (%t, '%c', '%U', %I)"</pre>
|
||||
logformat "-\'+_GINSERT INTO proxystat VALUES (%t, '%c', '%U', %I)"</pre>
|
||||
префикс -\'+_ указывает, что символы \ и ' следует заменить на _ .
|
||||
|
||||
</p>
|
||||
<li><a name="LOGANALIZERS"><i>Как использовать лог-анализаторы с 3proxy</i></a>
|
||||
<p>
|
||||
|
||||
Reference in new issue
Block a user