2016-06-24 3 views
0

私は、認証のためにSAMLで設定されたスプリングアプリケーションを用意しています。 ロギングにログバックを使用します。私は、ロギングを再開するためにTomcatを再起動する必要がorg.springframework.security.saml.metadata.ExtendedMetadataDelegate:destroy:178-デリゲートを破棄する

[LOG] [org.apache.commons.logging.impl.Jdk14Logger:log:87] - Closing  WebApplicationContext for namespace 'dispatcherServlet-servlet': startup date [Wed Jun 22 04:50:14 UTC 2016]; parent: Root WebApplicationContext 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.springframework.security.saml.util.SAMLUtil:marshallMessage:390] - XMLObject already had cached DOM, returning that element 
[LOG] [org.apache.commons.logging.impl.Jdk14Logger:log:87] - ClosingRoot WebApplicationContext: startup date [Wed Jun 22 04:50:00 UTC 2016]; root of context hierarchy 
[LOG] [org.springframework.security.saml.metadata.ExtendedMetadataDelegate:destroy:178] - Destroying delegate 
[LOG] [org.springframework.security.saml.metadata.ExtendedMetadataDelegate:destroy:178] - Destroying delegate 
[LOG] [org.springframework.security.saml.metadata.ExtendedMetadataDelegate:destroy:178] - Destroying delegate 

:ログは、ログに次のMSGと自動的に停止した後、唯一の日かそこらのために起こります。毎回、ログは上記のメッセージだけで停止します。だから、私はSAMLの統合で何かを疑う。 この問題を解決するためのあらゆる指針を高く評価します。

答えて

0

これは、SpringまたはSpring SAMLの問題ではありませんでした。 ログバック設定で相対ファイルパスを使用しました。 ログのローテーションが相対ファイルパスで正しく動作しないように見えます。

絶対ファイルパスを使用して問題を解決しました。

関連する問題