summaryrefslogtreecommitdiff
path: root/tests/plugins/logger/configs
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-09 13:32:34 +0300
committerValery Piashchynski <[email protected]>2021-06-09 13:32:34 +0300
commit3ec3306730455b6c5c423d130ebc322757661487 (patch)
tree1acfe544effb563a06e133a13be1faac6b3fddbb /tests/plugins/logger/configs
parenta723cedba199a1c50dca05630b53139ee456ace8 (diff)
- Add support for the file logger with log rotation and compression
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/logger/configs')
-rw-r--r--tests/plugins/logger/configs/.rr-file-logger.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/plugins/logger/configs/.rr-file-logger.yaml b/tests/plugins/logger/configs/.rr-file-logger.yaml
new file mode 100644
index 00000000..49c30d02
--- /dev/null
+++ b/tests/plugins/logger/configs/.rr-file-logger.yaml
@@ -0,0 +1,23 @@
+server:
+ command: "php ../../http/client.php echo pipes"
+ relay: "pipes"
+ relay_timeout: "20s"
+
+http:
+ address: 127.0.0.1:54224
+ max_request_size: 1024
+ middleware: [ ]
+ uploads:
+ forbid: [ ".php", ".exe", ".bat" ]
+ trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
+ pool:
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
+
+logs:
+ mode: development
+ level: debug
+ file_logger_options:
+ log_output: "test.log"