]> TLD Linux GIT Repositories - packages/postgresql.git/blobdiff - postgresql.logrotate
- switched to direct file logging, added logrotate
[packages/postgresql.git] / postgresql.logrotate
diff --git a/postgresql.logrotate b/postgresql.logrotate
new file mode 100644 (file)
index 0000000..1001b95
--- /dev/null
@@ -0,0 +1,7 @@
+/var/log/postgresql/*.log
+{
+       olddir /var/log/archive/postgresql
+       notifempty
+       missingok
+       copytruncate
+}