<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p style="margin: 0px; padding: 0px; color: rgb(23, 43, 77);
font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">Hi all,<br>
</p>
<p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">I'm using Shibboleth SP
v. 3.1.0 on RHEL 7 in a Docker container. </p>
<p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">I need to send the SP
logs in stdout and stderr console, in order to read them with the
"docker logs" command.</p>
<p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">I have tried to
configure the shibd.logger configuration file by adding the follow
appender:</p>
<p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;"> </p>
<div class="code panel" style="margin: 9px 0px; padding: 0px;
border: 1px solid rgb(193, 199, 208); background: rgb(244, 245,
247); font-size: 12px; line-height: 1.33333; font-family:
monospace; border-radius: 3px; color: rgb(23, 43, 77); font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
start; text-indent: 0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">
<div class="codeContent panelContent" style="margin: 0px; padding:
9px 12px;">
<pre class="code-java" style="margin: 0px; padding: 0px; max-height: 30em; overflow: auto; white-space: pre-wrap; overflow-wrap: normal;">log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=<span class="code-object" style="color: rgb(0, 0, 145);">System</span>.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
</pre>
</div>
</div>
<p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">and the follow root
category:</p>
<p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;"><br>
</p>
<div class="code panel" style="margin: 9px 0px; padding: 0px;
border: 1px solid rgb(193, 199, 208); background: rgb(244, 245,
247); font-size: 12px; line-height: 1.33333; font-family:
monospace; border-radius: 3px; color: rgb(23, 43, 77); font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
start; text-indent: 0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">
<div class="codeContent panelContent" style="margin: 0px; padding:
9px 12px;">
<pre class="code-java" style="margin: 0px; padding: 0px; max-height: 30em; overflow: auto; white-space: pre-wrap; overflow-wrap: normal;">log4j.rootCategory=INFO, shibd_log, warn_log, stdout
</pre>
</div>
</div>
<p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">but it doesn't work. I
get the log files in /var/log/shibboleth/ path but not in stdout
console</p>
<p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;"> I run the SP daemon
inside the docker container with the follow command: </p>
<div class="code panel" style="margin: 9px 0px; padding: 0px;
border: 1px solid rgb(193, 199, 208); background: rgb(244, 245,
247); font-size: 12px; line-height: 1.33333; font-family:
monospace; border-radius: 3px; color: rgb(23, 43, 77); font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
start; text-indent: 0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">
<div class="codeContent panelContent" style="margin: 0px; padding:
9px 12px;">
<pre class="code-java" style="margin: 0px; padding: 0px; max-height: 30em; overflow: auto; white-space: pre-wrap; overflow-wrap: normal;">exec /usr/sbin/shibd -u $SHIBD_USER -c $CONFING_SHARED/shibboleth2.xml -p $pidfile -f -F
</pre>
</div>
</div>
<p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">Thanks in advance</p>
<p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, Oxygen, Ubuntu, "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">Francesco <br>
</p>
</body>
</html>