shibboleth-dev - sp log4j configuration error
Subject: Shibboleth Developers
List archive
- From: "liujianzhen" <>
- To: <>
- Subject: sp log4j configuration error
- Date: Wed, 5 Dec 2007 11:31:16 +0800
HI,
I want to make SP to output logs daily
rolling. And I modified the configuration file "shibd.logger" according to the
log4j document.
but when I restarted the SP, I got an error as
follow:
"1196823995 ERROR shibtarget.Config load
init: Error reading logging configuration: Appender 'shibd_log' has
un'1196823995 ERROR shibtarget.Listener : socket call resulted in error (98): no
message"
I failed to find the solution. Have you met
this problem before and would you please give me some advice? thank
you vevry much.
Here is the content of my configure file
"shibd.logger":
############################################
log4j.rootCategory=INFO, shibd_log
# these are fairly verbose for DEBUG, so generally leave at
INFO
log4j.category.SAML.XML=INFO log4j.category.shibtarget.XMLApplication=INFO # the tran log blocks the "default" appender(s) at
runtime
# Level should be left at INFO for this category log4j.category.Shibboleth-TRANSACTION=INFO, tran_log log4j.additivity.Shibboleth-TRANSACTION=true #false; edited by ljz # define the appenders
log4j.appender.shibd_log=org.apache.log4j.DailyRollingFileAppender log4j.appender.shibd_log.DatePattern='.'yyyy-MM-dd'.i'log log4j.appender.shibd_log.File=/usr/local/etc/shibboleth/shibd
log4j.appender.shibd_log.layout=org.apache.log4j.PatternLayout
log4j.appender.shibd_log.layout.ConversionPattern=%d %p %c %x: %m%n log4j.appender.tran_log=org.apache.log4j.DailyRollingFileAppender
log4j.appender.tran_log.DatePattern='.'yyyy-MM-dd'.i'log log4j.appender.tran_log.File=/usr/local/etc/shibboleth/transaction log4j.appender.tran_log.layout=org.apache.log4j.PatternLayout log4j.appender.tran_log.layout.ConversionPattern=%d %p %c %x: %m%n ###########################################################################
--
LiuJianzhen (Jane) School of Electronics Engineering and Computer Science Peking University, Beijing Cellphone: +86 1326971855 Email: -- 刘建珍 计算机系 信息科学技术学院 北京大学 手机: +86 1326971855 邮箱: |
- sp log4j configuration error, liujianzhen, 12/04/2007
- RE: sp log4j configuration error, Scott Cantor, 12/04/2007
Archive powered by MHonArc 2.6.16.