summaryrefslogtreecommitdiff
path: root/manifests/noiplog.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-08-11 14:06:53 +0200
committermh <mh@immerda.ch>2010-08-11 14:06:53 +0200
commit7bbb0feacac0565457f5f56f65468429803454fb (patch)
tree7c384ffbea93302afebacdaae9492b3279fd02e1 /manifests/noiplog.pp
parentd50296539fc641b6387fcea712d950785c83cea3 (diff)
introduce logmode feature
We are now able to select how apache should log accesses. These modes are: * default: as you would use it * semianonym: no ips are logged for CustomLog, ErrorLog still logs ips * anonym: no ips are logged for CustomLog, ErrorLog is sent to /dev/null * nologs: all logs are sent to /dev/null
Diffstat (limited to 'manifests/noiplog.pp')
-rw-r--r--manifests/noiplog.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/noiplog.pp b/manifests/noiplog.pp
new file mode 100644
index 0000000..355d7e6
--- /dev/null
+++ b/manifests/noiplog.pp
@@ -0,0 +1,5 @@
+class apache::noiplog {
+ apache::config::global{ 'noip_log.conf':
+ content => 'LogFormat "127.0.0.1 - - %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %V" noip';
+ }
+}