forked from bozana/usageStats
-
Notifications
You must be signed in to change notification settings - Fork 34
/
settings.xml
46 lines (43 loc) · 1.14 KB
/
settings.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plugin_settings SYSTEM "../../../lib/pkp/dtd/pluginSettings.dtd">
<!--
* plugins/generic/usageStats/settings.xml
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Default plugin settings.
*
-->
<plugin_settings>
<setting type="bool">
<name>enabled</name>
<value>true</value>
</setting>
<setting type="bool">
<name>createLogFiles</name>
<value>true</value>
</setting>
<setting type="string">
<name>accessLogFileParseRegex</name>
<value>/^(?P<ip>\S+) \S+ \S+ \[(?P<date>.*?)\] "\S+ (?P<url>\S+).*?" (?P<returnCode>\S+) \S+ ".*?" "(?P<userAgent>.*?)"/</value>
</setting>
<setting type="object">
<name>optionalColumns</name>
<value>
<array>
<element>city</element>
<element>region</element>
</array>
</value>
</setting>
<setting type="string">
<name>chartType</name>
<value>bar</value>
</setting>
<setting type="string">
<name>datasetMaxCount</name>
<value>4</value>
</setting>
</plugin_settings>