summaryrefslogtreecommitdiff
path: root/docs/logs.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/logs.md')
-rw-r--r--docs/logs.md127
1 files changed, 34 insertions, 93 deletions
diff --git a/docs/logs.md b/docs/logs.md
index 487e220..84cb008 100644
--- a/docs/logs.md
+++ b/docs/logs.md
@@ -8,80 +8,19 @@ This table stores all logs from authserver if database logging in config is enab
**Structure**
-<table>
-<colgroup>
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-</colgroup>
-<tbody>
-<tr class="odd">
-<td><p><strong>Field</strong></p></td>
-<td><p><strong>Type</strong></p></td>
-<td><p><strong>Attributes</strong></p></td>
-<td><p><strong>Key</strong></p></td>
-<td><p><strong>Null</strong></p></td>
-<td><p><strong>Default</strong></p></td>
-<td><p><strong>Extra</strong></p></td>
-<td><p><strong>Comment</strong></p></td>
-</tr>
-<tr class="even">
-<td><p><a href="#time">time</a></p></td>
-<td><p>int(10)</p></td>
-<td><p>unsigned</p></td>
-<td><p> </p></td>
-<td><p>NO</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="odd">
-<td><p><a href="#realm">realm</a></p></td>
-<td><p>realm(10)</p></td>
-<td><p>unsigned</p></td>
-<td><p> </p></td>
-<td><p>NO</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="even">
-<td><p><a href="#type">type</a></p></td>
-<td><p>tinyint(3)</p></td>
-<td><p>unsigned</p></td>
-<td><p> </p></td>
-<td><p>NO</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="odd">
-<td><p><a href="#level">level</a></p></td>
-<td><p>tinyint(3)</p></td>
-<td><p>unsigned</p></td>
-<td><p> </p></td>
-<td><p>NO</p></td>
-<td><p>0</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="even">
-<td><p><a href="#string">string</a></p></td>
-<td><p>text</p></td>
-<td><p>signed</p></td>
-<td><p> </p></td>
-<td><p>YES</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-</tbody>
-</table>
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+|-------------|------------|------------|-----|------|---------|-------|---------|
+| [time][1] | int(10) | unsigned | | NO | | | |
+| [realm][2] | realm(10) | unsigned | | NO | | | |
+| [type][3] | tinyint(3) | unsigned | | NO | | | |
+| [level][4] | tinyint(3) | unsigned | | NO | 0 | | |
+| [string][5] | text | signed | | YES | | | |
+
+[1]: #time
+[2]: #realm
+[3]: #type
+[4]: #level
+[5]: #string
**Description of the fields**
@@ -97,30 +36,32 @@ The [RealmID](realmlist#id) of the realm this log string came from. 0 if realmd.
The type of log this is:
-| Values | Description |
-|------------------------|-----------------------------|
-| LOG_TYPE_STRING = 0 | a normal informative string |
-| LOG_TYPE_ERROR = 1 | some sort of error |
-| LOG_TYPE_BASIC = 2 | basic information |
-| LOG_TYPE_DETAIL = 3 | detailed information |
-| LOG_TYPE_DEBUG = 4 | debugging information |
-| LOG_TYPE_CHAR = 5 | character-related |
-| LOG_TYPE_WORLD = 6 | world packet dump |
-| LOG_TYPE_RA = 7 | remote access logs |
-| LOG_TYPE_GM = 8 | gm command logs |
-| LOG_TYPE_CRASH = 9 | crash alarm logs |
-| LOG_TYPE_CHAT = 10 | chat/message logs |
+| Name | Value | Description |
+|-----------------|-------|-----------------------------|
+| LOG_TYPE_STRING | 0 | A NORMAL INFORMATIVE STRING |
+| LOG_TYPE_ERROR | 1 | SOME SORT OF ERROR |
+| LOG_TYPE_BASIC | 2 | BASIC INFORMATION |
+| LOG_TYPE_DETAIL | 3 | DETAILED INFORMATION |
+| LOG_TYPE_DEBUG | 4 | DEBUGGING INFORMATION |
+| LOG_TYPE_CHAR | 5 | CHARACTER-RELATED |
+| LOG_TYPE_WORLD | 6 | WORLD PACKET DUMP |
+| LOG_TYPE_RA | 7 | REMOTE ACCESS LOGS |
+| LOG_TYPE_GM | 8 | GM COMMAND LOGS |
+| LOG_TYPE_CRASH | 9 | CRASH ALARM LOGS |
+| LOG_TYPE_CHAT | 10 | CHAT/MESSAGE LOGS |
### level
Depends on LogLevel in authserver.conf
-- 1 - (Trace)
-- 2 - (Debug)
-- 3 - (Info)
-- 4 - (Warn)
-- 5 - (Error)
-- 6 - (Fatal)
+| Value | Description |
+|-------|-------------|
+| 1 | (Trace) |
+| 2 | (Debug) |
+| 3 | (Info) |
+| 4 | (Warn) |
+| 5 | (Error) |
+| 6 | (Fatal) |
### string