Software / code / prosody-modules
Annotate
mod_log_messages_sql/README.markdown @ 3382:7fc0200183c1
mod_password_reset: Add magic viewport tag to make reset pages mobile-friendly
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 22 Nov 2018 23:31:17 +0000 |
| parent | 2406:a216be9b1d6e |
| child | 3438:b74c86d137c9 |
| rev | line source |
|---|---|
|
2406
a216be9b1d6e
mod_log_messages_sql/README: Point out incompatibility with 0.10
Kim Alvefur <zash@zash.se>
parents:
2323
diff
changeset
|
1 # Introduction |
|
a216be9b1d6e
mod_log_messages_sql/README: Point out incompatibility with 0.10
Kim Alvefur <zash@zash.se>
parents:
2323
diff
changeset
|
2 |
| 2323 | 3 This module logs messages to a SQL database. |
| 4 | |
| 5 SQL connection options are configured in a `message_log_sql` option, | |
| 6 which has the same syntax as the `sql` option for | |
| 7 [mod_storage_sql][doc:modules:mod_storage_sql]. | |
| 8 | |
|
2406
a216be9b1d6e
mod_log_messages_sql/README: Point out incompatibility with 0.10
Kim Alvefur <zash@zash.se>
parents:
2323
diff
changeset
|
9 # Usage |
|
a216be9b1d6e
mod_log_messages_sql/README: Point out incompatibility with 0.10
Kim Alvefur <zash@zash.se>
parents:
2323
diff
changeset
|
10 |
| 2323 | 11 You will need to create the following table in the configured database: |
| 12 | |
| 13 ``` sql | |
| 14 CREATE TABLE `prosodyarchive` ( | |
| 15 `host` TEXT, | |
| 16 `user` TEXT, | |
| 17 `store` TEXT, | |
| 18 `id` INTEGER PRIMARY KEY AUTOINCREMENT, | |
| 19 `when` INTEGER, | |
| 20 `with` TEXT, | |
| 21 `resource` TEXT, | |
| 22 `stanza` TEXT); | |
| 23 ``` | |
|
2406
a216be9b1d6e
mod_log_messages_sql/README: Point out incompatibility with 0.10
Kim Alvefur <zash@zash.se>
parents:
2323
diff
changeset
|
24 |
|
a216be9b1d6e
mod_log_messages_sql/README: Point out incompatibility with 0.10
Kim Alvefur <zash@zash.se>
parents:
2323
diff
changeset
|
25 # Compatibility |
|
a216be9b1d6e
mod_log_messages_sql/README: Point out incompatibility with 0.10
Kim Alvefur <zash@zash.se>
parents:
2323
diff
changeset
|
26 |
|
a216be9b1d6e
mod_log_messages_sql/README: Point out incompatibility with 0.10
Kim Alvefur <zash@zash.se>
parents:
2323
diff
changeset
|
27 Does *NOT* work with 0.10 due to a conflict with the new archiving |
|
a216be9b1d6e
mod_log_messages_sql/README: Point out incompatibility with 0.10
Kim Alvefur <zash@zash.se>
parents:
2323
diff
changeset
|
28 support in `mod_storage_sql`· |