diff options
| author | Kargatum <dowlandtop@yandex.com> | 2021-04-28 18:56:56 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-28 13:56:56 +0200 |
| commit | 8c23449c2f0ea6af65874bdecc15c8adc1df2633 (patch) | |
| tree | 1101f65a9a79343afef4639cfff39ff19058d8e0 | |
| parent | 3a0e81a93a0cda2f3f65db4bd0d5cb1bf0616fc2 (diff) | |
| download | wiki-8c23449c2f0ea6af65874bdecc15c8adc1df2633.tar.gz wiki-8c23449c2f0ea6af65874bdecc15c8adc1df2633.tar.bz2 wiki-8c23449c2f0ea6af65874bdecc15c8adc1df2633.zip | |
chore(Auth/Logs): update logging info (#445)
* Update logs.md
* Update logs.md
* Update logs.md
* Update logs.md
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
| -rw-r--r-- | docs/logs.md | 38 |
1 files changed, 16 insertions, 22 deletions
diff --git a/docs/logs.md b/docs/logs.md index 6858a9e..8b2c9bf 100644 --- a/docs/logs.md +++ b/docs/logs.md @@ -4,7 +4,11 @@ **The \`logs\` table** -This table stores all logs from authserver if database logging in config is enabled. +This table stores logs from `Appender` type database in config file. +Example db appender: +```ini +Appender.DB=3,5,0 +``` **Structure** @@ -34,21 +38,11 @@ The [RealmID](realmlist#id) of the realm this log string came from. 0 if realmd. ### type -The type of log this is: - -| 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 | +The `Logger` name from config +Example logger: +```ini +Logger.server=4,Console Server +``` ### level @@ -56,12 +50,12 @@ Depends on LogLevel in authserver.conf | Value | Description | |-------|-------------| -| 1 | (Trace) | -| 2 | (Debug) | -| 3 | (Info) | -| 4 | (Warn) | -| 5 | (Error) | -| 6 | (Fatal) | +| 1 | (Fatal) | +| 2 | (Error) | +| 3 | (Warning) | +| 4 | (Info) | +| 5 | (Debug) | +| 6 | (Trace) | ### string |
