<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I’ve seen this issue occur when the logs are scanned by a tool which is using gunzip -c to decrypt the log files in place. If the gunzip process is interrupted, it leaves those tmp files around. This is separate from the IdP and is not likely caused by log
rolling or something within tomcat.
<div class="">Regards,</div>
<div class="">Russ.<br class="">
<div class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">
<div class="">
<div style="orphans: 2; widows: 2; margin: 0px;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">
<div style="margin: 0px;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">
<div style="margin: 0px;" class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">
<div style="margin: 0px;" class="">=========================</div>
<div style="margin: 0px;" class=""><b class="">Russell Beall | Identity and Access Management Lead Engineer</b></div>
<div style="margin: 0px;" class="">Office of the CISO | <font color="#991b1e" class="">University of Southern California</font> </div>
<div style="margin: 0px;" class="">(213) 740-7221 | <a href="mailto:beall@usc.edu" class="">beall@usc.edu</a></div>
<div class=""><br class="">
</div>
</div>
<div class=""><br class="">
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Apr 21, 2020, at 5:32 AM, Delhommeau Vincent <<a href="mailto:vincent.delhommeau@ehess.fr" class="">vincent.delhommeau@ehess.fr</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div style="font-family: "courier new", courier, monaco, monospace, sans-serif; font-size: 10pt;" class="">
<div class="">I forgot to mention that if I restart tomcat, it will stop writing in the tmp files.<br class="">
</div>
<div class="">Could it be a bug in log4j ?<br data-mce-bogus="1" class="">
</div>
<div class=""><br class="">
</div>
<div data-marker="__SIG_PRE__" class="">Vincent Delhommeau <br class="">
Administrateur Systèmes & Réseaux <br class="">
EHESS - DSI/SERI <br class="">
01 49 54 84 46 <br class="">
</div>
<br class="">
<hr id="zwchr" data-marker="__DIVIDER__" class="">
<div data-marker="__HEADERS__" class=""><b class="">De: </b>"Delhommeau Vincent" <<a href="mailto:vincent.delhommeau@ehess.fr" class="">vincent.delhommeau@ehess.fr</a>><br class="">
<b class="">À: </b><a href="mailto:users@shibboleth.net" class="">users@shibboleth.net</a><br class="">
<b class="">Envoyé: </b>Lundi 20 Avril 2020 17:34:59<br class="">
<b class="">Objet: </b>problem with IdP log files<br class="">
</div>
<br class="">
<div data-marker="__QUOTED_TEXT__" class="">
<div style="font-family: "courier new", courier, monaco, monospace, sans-serif; font-size: 10pt;" class="">
<div class="">Hi,<br class="">
</div>
<br class="">
<div class="">I'm finishing the setup of a shibboleth v 3.4.4 IdP.<br class="">
</div>
<div class="">I have found strange files in the logs folder.<br class="">
</div>
<div class="">Here is a partial litsting of /opt/shibboleth-idp/logs :<br class="">
</div>
<br class="">
<div class="">-rw-r--r-- 1 tomcat tomcat 21583 Apr 18 00:00 idp-process-2020-04-17.log.gz<br class="">
-rw-r--r-- 1 tomcat tomcat 4770 Apr 18 00:03 idp-process-2020-04-17.log713182882606029.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 2862 Apr 18 00:00 idp-process-2020-04-17.log713194143509376.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 11957 Apr 19 00:00 idp-process-2020-04-18.log.gz<br class="">
-rw-r--r-- 1 tomcat tomcat 954 Apr 19 00:00 idp-process-2020-04-18.log799578327391671.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 954 Apr 19 00:00 idp-process-2020-04-18.log799588595404227.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 11916 Apr 20 00:00 idp-process-2020-04-19.log.gz<br class="">
-rw-r--r-- 1 tomcat tomcat 954 Apr 20 00:00 idp-process-2020-04-19.log885979225206155.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 954 Apr 20 00:00 idp-process-2020-04-19.log885988711505334.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 165221 Apr 20 16:40 idp-process.log<br class="">
-rw-r--r-- 1 tomcat tomcat 2122 Apr 18 00:00 idp-warn-2020-04-17.log.gz<br class="">
-rw-r--r-- 1 tomcat tomcat 4770 Apr 18 00:03 idp-warn-2020-04-17.log713182892530877.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 2862 Apr 18 00:00 idp-warn-2020-04-17.log713194148379693.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 861 Apr 19 00:00 idp-warn-2020-04-18.log.gz<br class="">
-rw-r--r-- 1 tomcat tomcat 954 Apr 19 00:00 idp-warn-2020-04-18.log799578331483925.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 954 Apr 19 00:00 idp-warn-2020-04-18.log799588599983199.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 820 Apr 20 00:00 idp-warn-2020-04-19.log.gz<br class="">
-rw-r--r-- 1 tomcat tomcat 954 Apr 20 00:00 idp-warn-2020-04-19.log885979229538330.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 954 Apr 20 00:00 idp-warn-2020-04-19.log885988715547676.tmp<br class="">
-rw-r--r-- 1 tomcat tomcat 5972 Apr 20 09:10 idp-warn.log</div>
<br class="">
<div class="">After log rotation shibboleth writes in temporary files along with the regular log files.<br class="">
</div>
<div class="">The problem only concerns idp-process.log and idp-warn.log, the other log files are "normal".<br class="">
</div>
<div class="">I didnt change the logging settings.<br class="">
</div>
<br class="">
<div class="">Two monthes ago I tried to install v 3.4.6 IdP. I dropped it because I could not make the shibcas plugin work, but kept the installation folder.<br class="">
</div>
<div class="">I can see the same behaviour with log files.<br class="">
</div>
<br class="">
<div class="">Has someone already met this situation ?<br class="">
</div>
<br class="">
<div class="">My configuration : opensuse leap 15.1, apache 2.4.33, tomcat 9.0.31, java 1.8.0.242 openjdk<br class="">
</div>
<br class="">
<div class="">Regards,<br class="">
</div>
<br class="">
<div class="">Vincent Delhommeau <br class="">
Administrateur Systèmes & Réseaux <br class="">
EHESS - DSI/SERI <br class="">
01 49 54 84 46 <br class="">
</div>
</div>
<br class="">
-- <br class="">
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" class="">
https://wiki.shibboleth.net/confluence/x/coFAAg</a><br class="">
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" class="">
users-unsubscribe@shibboleth.net</a><br class="">
</div>
</div>
</div>
-- <br class="">
For Consortium Member technical support, see <a href="https://urldefense.com/v3/__https://wiki.shibboleth.net/confluence/x/coFAAg__;!!LIr3w8kk_Xxm!8z58Ng31x3-Ok82D2jkpRhrpoOHybFLAdlJ58Z9EVGDpnhtIotY1co5D5Tu7$" class="">
https://urldefense.com/v3/__https://wiki.shibboleth.net/confluence/x/coFAAg__;!!LIr3w8kk_Xxm!8z58Ng31x3-Ok82D2jkpRhrpoOHybFLAdlJ58Z9EVGDpnhtIotY1co5D5Tu7$</a>
<br class="">
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" class="">
users-unsubscribe@shibboleth.net</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>