[java-idp-plugin-jetty] 122/186: Better "out of the box behavior"

Rod Widdowson rdw at steadingsoftware.com
Thu Jul 24 15:57:53 UTC 2025


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch dev/foo
in repository java-idp-plugin-jetty.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-jetty.git;a=commit;h=337d61ccf71257bf4df0aff5d768911636f264d5

commit 337d61ccf71257bf4df0aff5d768911636f264d5
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Oct 11 10:41:25 2024 +0100

    Better "out of the box behavior"
    
    Comment out the port settings in idp.ini
    Default jetty logging to ${idp.home}/logs
---
 src/main/resources/jetty-base/resources/logback.xml | 8 ++++----
 src/main/resources/jetty-base/start.d/idp.ini       | 6 ++++--
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/main/resources/jetty-base/resources/logback.xml b/src/main/resources/jetty-base/resources/logback.xml
index 86acebf..1529051 100644
--- a/src/main/resources/jetty-base/resources/logback.xml
+++ b/src/main/resources/jetty-base/resources/logback.xml
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <configuration scan="true">
   <appender name="jetty" class="ch.qos.logback.core.rolling.RollingFileAppender">
-    <File>${jetty.base}/logs/jetty.log</File>
+    <File>${idp.home}/logs/jetty.log</File>
     <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-      <FileNamePattern>${jetty.base}/logs/jetty-%d{yyyy-MM-dd}.log.gz</FileNamePattern>
+      <FileNamePattern>${idp.home}/logs/jetty-%d{yyyy-MM-dd}.log.gz</FileNamePattern>
     </rollingPolicy>
     <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
       <charset>UTF-8</charset>
@@ -12,9 +12,9 @@
   </appender>
 
   <appender name="jetty-access" class="ch.qos.logback.core.rolling.RollingFileAppender">
-    <file>${jetty.base}/logs/access.log</file>
+    <file>${idp.home}/logs/access.log</file>
     <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-      <fileNamePattern>${jetty.base}/logs/access-%d{yyyy-MM-dd}.log.gz</fileNamePattern>
+      <fileNamePattern>${idp.home}/logs/access-%d{yyyy-MM-dd}.log.gz</fileNamePattern>
     </rollingPolicy>
     <encoder>
       <pattern>%msg%n</pattern>
diff --git a/src/main/resources/jetty-base/start.d/idp.ini b/src/main/resources/jetty-base/start.d/idp.ini
index 92b2b87..857cad8 100644
--- a/src/main/resources/jetty-base/start.d/idp.ini
+++ b/src/main/resources/jetty-base/start.d/idp.ini
@@ -29,11 +29,13 @@ jetty.sslContext.renegotiationAllowed=false
 # jetty.ssl.host=0.0.0.0
 
 ## Connector port to listen on
-jetty.ssl.port=443
+# Default jetty.ssl.port is 8443
+# jetty.ssl.port=443
 
 ## Route request logging through standard logging API
 etc/jetty-requestlog.xml
 
 # Allows use of default IdP command line tools.
 jetty.http.host=127.0.0.1
-jetty.http.port=80
+# Default jetty.http.port is 8080
+# jetty.http.port=80

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list