[Rt-commit] rt branch, 4.4/rt-server-plack-doc, created. rt-4.4.4-79-gd5f3e02e64

Jim Brandt jbrandt at bestpractical.com
Thu Dec 5 14:56:16 EST 2019


The branch, 4.4/rt-server-plack-doc has been created
        at  d5f3e02e64fe7133ddec26177865359576ed9a64 (commit)

- Log -----------------------------------------------------------------
commit d5f3e02e64fe7133ddec26177865359576ed9a64
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Dec 5 14:56:08 2019 -0500

    Document additional plackup options via rt-server

diff --git a/sbin/rt-server.in b/sbin/rt-server.in
index f9ed6ea383..06b47b16b7 100644
--- a/sbin/rt-server.in
+++ b/sbin/rt-server.in
@@ -182,3 +182,14 @@ rt-server - RT standalone server
 
     # runs other PSGI server on port 8080
     rt-server --server Starman --port 8080
+
+=head1 DESCRIPTION
+
+The C<rt-server> utility uses Plack so you can pass through additional
+options described in the L<plackup|https://metacpan.org/pod/distribution/Plack/script/plackup>
+documentation. For example, if you want to see server logs when developing,
+you can start the server like:
+
+    sbin/rt-server --env development --access-log var/access.log
+
+Log output will then go to var/access.log.

-----------------------------------------------------------------------


More information about the rt-commit mailing list