Mercurial > prosody-wiki
annotate mod_muc_log.wiki @ 494:fb9e558dd1df
add page
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 18 Nov 2014 14:03:41 +0100 |
parents | e15448188d05 |
children |
rev | line source |
---|---|
112
058ede538839
Clarified documentation, config and dependency on something else for viewing the logs.
MWild1
parents:
94
diff
changeset
|
1 #summary Log chatroom messages to disk |
71
87bba9ac5896
removed folder config option. isn't needed anymore, cause we use datamanager to store the logging stuff.
t.ephraim
parents:
70
diff
changeset
|
2 #labels Stage-Beta |
59 | 3 |
4 = Introduction = | |
5 | |
113 | 6 This module logs the conversation of chatrooms running on the server to Prosody's data store. To view them you will need a module such as [mod_muc_log_http]. |
59 | 7 |
8 = Details = | |
9 | |
112
058ede538839
Clarified documentation, config and dependency on something else for viewing the logs.
MWild1
parents:
94
diff
changeset
|
10 mod_muc_log must be loaded individually for the components that need it. Assuming you have a MUC component already running on conference.example.org then you can add muc_log to it like so: |
058ede538839
Clarified documentation, config and dependency on something else for viewing the logs.
MWild1
parents:
94
diff
changeset
|
11 |
59 | 12 {{{ |
112
058ede538839
Clarified documentation, config and dependency on something else for viewing the logs.
MWild1
parents:
94
diff
changeset
|
13 Component "conference.example.org" "muc" |
63 | 14 modules_enabled = { |
94 | 15 "muc_log"; |
112
058ede538839
Clarified documentation, config and dependency on something else for viewing the logs.
MWild1
parents:
94
diff
changeset
|
16 } |
59 | 17 }}} |
18 | |
491
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
19 Logging is not enabled by default. In 0.9+ logging can be enabled per room in the room config form. |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
20 |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
21 To enable logging in older versions, or to enable logging by default for all rooms, set |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
22 |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
23 {{{ |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
24 muc_log_by_default = true -- Log all rooms by default |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
25 }}} |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
26 |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
27 |
112
058ede538839
Clarified documentation, config and dependency on something else for viewing the logs.
MWild1
parents:
94
diff
changeset
|
28 = Compatibility = |
058ede538839
Clarified documentation, config and dependency on something else for viewing the logs.
MWild1
parents:
94
diff
changeset
|
29 || 0.6 || Works || |
491
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
30 || 0.7 || Works || |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
31 || 0.8 || Works || |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
32 || 0.9 || Works || |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
33 |
e15448188d05
Update with current behaviour and options
Kim Alvefur <zash@zash.se>
parents:
113
diff
changeset
|
34 *Note* that per-room configuration only works in 0.9+. |