-
Hi, guys! I want to make RR output my application's log messages from Is there any way to make RR just forward logs from my application without any processing/decorating? Here is my config: version: "2.7"
server:
command: "php -d opcache.enable-cli=1 ./vendor/bin/rr-worker start --relay-dsn tcp://127.0.0.1:10000"
relay: tcp://127.0.0.1:10000
http:
address: 127.0.0.1:8001
# override http error code for the internal RR errors (Default: 500)
internal_error_code: 505
# HTTP access logs (Default: false)
access_logs: false
# Maximal incoming request size in megabytes. Zero means no limit. (Default: 0)
max_request_size: 100
middleware: [ "static" ]
pool:
max_jobs: 10
num_workers: ${HTTP_WORKERS_COUNT}
static:
dir: "public"
forbid: [ ".php" ]
logs:
output: stdout
# encoding: json
mode: raw |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 15 replies
-
Hey @codercms 👋🏻 Just use |
Beta Was this translation helpful? Give feedback.
-
@rustatian but how can I hide RR access logs without hiding my application logs (debug/info)? |
Beta Was this translation helpful? Give feedback.
Hey @codercms 👋🏻
Just use
mode: raw
as specified in your configuration.