@webimpian/zonemta-log-central 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,13 +11,13 @@ Built on [`@webimpian/log-central-node`](https://www.npmjs.com/package/@webimpia
|
|
|
11
11
|
|
|
12
12
|
Inside your ZoneMTA application directory:
|
|
13
13
|
|
|
14
|
-
```
|
|
14
|
+
```
|
|
15
15
|
npm install @webimpian/zonemta-log-central
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
Enable the plugin in the ZoneMTA config:
|
|
19
19
|
|
|
20
|
-
```
|
|
20
|
+
```
|
|
21
21
|
# config/plugins/log-central.toml
|
|
22
22
|
["modules/@webimpian/zonemta-log-central"]
|
|
23
23
|
enabled=["receiver", "main", "sender"]
|
|
@@ -30,7 +30,7 @@ channel="zonemta"
|
|
|
30
30
|
|
|
31
31
|
Alternatively, if you keep local plugins in a `plugins/` folder, drop in a one-line shim as `plugins/log-central.js`:
|
|
32
32
|
|
|
33
|
-
```
|
|
33
|
+
```
|
|
34
34
|
module.exports = require('@webimpian/zonemta-log-central');
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -48,7 +48,7 @@ and enable it as `["log-central"]` with the same options.
|
|
|
48
48
|
|
|
49
49
|
Toggle any of them in the config:
|
|
50
50
|
|
|
51
|
-
```
|
|
51
|
+
```
|
|
52
52
|
["modules/@webimpian/zonemta-log-central".events]
|
|
53
53
|
queued=false
|
|
54
54
|
raw=true
|
|
@@ -71,7 +71,7 @@ If `url`, `token`, or `app` is missing, the plugin logs a warning through ZoneMT
|
|
|
71
71
|
|
|
72
72
|
## Testing
|
|
73
73
|
|
|
74
|
-
```
|
|
74
|
+
```
|
|
75
75
|
npm install
|
|
76
76
|
npm test
|
|
77
77
|
```
|
package/package.json
CHANGED