tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nashrul <anas_a...@yahoo.com>
Subject Log4j doesn't output intended debug messages
Date Tue, 10 Feb 2009 03:29:28 GMT

I try to do some logging with my two web apps (A and B). Each webapps has has
its own log4j*.jar and log4j property file (log4j.xml and log4j-1.2.14.jar
for webapp A and
log4j.properties and log4j-1.2.15.jar for webapp B). 
I try to modify log4j.properties file in webapp B to output some debug
information (modified log4j.properties is below) 
to a log file named cas.log.
When I start tomcat, it only prints info and warn logging information, not
debug info in stdout and cas log file.
The cas.log file is empty.
If I have more than one webapps using log4j,  How can I debug one of them
using log4j ?? Do I need to strip log4j.jar from each webapps and put in
common/lib folder in Tomcat ??
I also put -Dlog4j.debug properties to Tomcat startup. And when I look at
the log, Tomcat reads log4j.properties located in webapp A twice. How does
this happen ??

Thanks in advance.

Specification:
Tomcat 5.5
Windows Server 2003
jdk1.5_09


Here's my modifiled log4j.properties file (try to debug on org.spring.ldap.*
and some other classes)
# For JBoss: Avoid to setup Log4J outside
$JBOSS_HOME/server/default/deploy/log4j.xml!
# For all other servers: Comment out the Log4J listener in web.xml to
activate Log4J.
log4j.rootLogger=DEBUG, stdout, logfile

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n

log4j.appender.logfile=org.apache.log4j.RollingFileAppender
#log4j.appender.logfile.File=C:/cas.log
log4j.appender.logfile.File=cas.log
log4j.appender.logfile.MaxFileSize=10MB
# Keep three backup files.
log4j.appender.logfile.MaxBackupIndex=3
# Pattern to output: date priority [category] - message
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n

# WARNING: Setting the org.springframework logger to DEBUG displays debug
information about
# the request parameter values being bound to the command objects.  This
could expose your
# password in the log file.  If you are sharing your log files, it is
recommend you selectively
# apply DEBUG level logging on a an org.springframework.* package level
(i.e. org.springframework.dao)
#log4j.logger.org.springframework=DEBUG
log4j.logger.org.springframework.ldap=DEBUG
log4j.logger.org.springframework.acegi.security=DEBUG
#log4j.logger.org.springframework.web.servlet.i18n=DEBUG
#log4j.logger.org.springframework.web.servlet.view=DEBUG
#log4j.logger.org.quartz=DEBUG

#log4j.logger.org.jasig=DEBUG
# WARNING: Setting the flow package to DEBUG will display
# the parameters posted to the login servlet including
# cleartext authentication credentials
#log4j.logger.org.jasig.cas.client=DEBUG
#log4j.logger.org.jasig.cas.web.flow=WARN
log4j.logger.org.jasig.cas.authentication=DEBUG
#log4j.logger.org.jasig.cas.web.flow.TicketGrantingTicketCheckAction=DEBUG
#log4j.logger.org.jasig.cas.services.DefaultServiceRegistry=DEBUG
log4j.logger.org.jasig.cas.services=DEBUG 

and here's my log output(stdout)
log4j: Trying to find [log4j.xml] using context classloader
WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@aa37a6
.
log4j: Using URL
[file:/C:/pentaho/Tomcat%205.5/webapps/pentaho/WEB-INF/classes/log4j.xml]
for automatic log4j configuration.
log4j: Preferred configurator class: org.apache.log4j.xml.DOMConfigurator
log4j: System property is :null
log4j: Standard DocumentBuilderFactory search succeded.
log4j: DocumentBuilderFactory is:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
log4j: debug attribute= "false".
09:58:40,890 INFO  [CWM] CWM - Loaded CWM model into the default repository.
Pentaho BI Platform server is ready. (Pentaho BI Platform 1.7.0.1062) Base
Url = http://xxxx:8080/pentaho, Solution Path = C:\pentaho\pentaho-solutions
2009/02/10 09:58:42:437 GMT+07:00 [INFO] cas] - Initializing log4j from
[classpath:log4j.properties]
log4j: Trying to find [log4j.xml] using context classloader
WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@aa37a6
.
log4j: Trying to find [log4j.xml] using WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@aa37a6
 class loader.
log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource().
log4j: Trying to find [log4j.properties] using context classloader
WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@aa37a6
.
log4j: Using URL
[file:/C:/pentaho/Tomcat%205.5/webapps/cas/WEB-INF/classes/log4j.properties]
for automatic log4j configuration.
log4j: Reading configuration from URL
file:/C:/pentaho/Tomcat%205.5/webapps/cas/WEB-INF/classes/log4j.properties
log4j: Parsing for [root] with value=[DEBUG, stdout, logfile].
log4j: Level token is [DEBUG].
log4j: Category root set to DEBUG
log4j: Parsing appender named "stdout".
log4j: Parsing layout options for "stdout".
log4j: Setting property [conversionPattern] to [%d %p [%c] - <%m>%n].
log4j: End of parsing for "stdout".
log4j: Parsed "stdout" options.
log4j: Parsing appender named "logfile".
log4j: Parsing layout options for "logfile".
log4j: Setting property [conversionPattern] to [%d %p [%c] - %m%n].
log4j: End of parsing for "logfile".
log4j: Setting property [file] to [cas.log].
log4j: Setting property [maxFileSize] to [10MB].
log4j: Setting property [maxBackupIndex] to [3].
log4j: setFile called: cas.log, true
log4j: setFile ended
log4j: Parsed "logfile" options.
log4j: Parsing for [org.jasig.cas.services] with value=[DEBUG ].
log4j: Level token is [DEBUG ].
log4j: Category org.jasig.cas.services set to DEBUG
log4j: Handling log4j.additivity.org.jasig.cas.services=[null]
log4j: Parsing for [org.springframework.acegi.security] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category org.springframework.acegi.security set to DEBUG
log4j: Handling log4j.additivity.org.springframework.acegi.security=[null]
log4j: Parsing for [org.springframework.ldap] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category org.springframework.ldap set to DEBUG
log4j: Handling log4j.additivity.org.springframework.ldap=[null]
log4j: Parsing for [org.jasig.cas.authentication] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category org.jasig.cas.authentication set to DEBUG
log4j: Handling log4j.additivity.org.jasig.cas.authentication=[null]
log4j: Finished configuring.
log4j: Reading configuration from URL
file:/C:/pentaho/Tomcat%205.5/webapps/cas/WEB-INF/classes/log4j.properties
log4j: Parsing for [root] with value=[DEBUG, stdout, logfile].
log4j: Level token is [DEBUG].
log4j: Category root set to DEBUG
log4j: Parsing appender named "stdout".
log4j: Parsing layout options for "stdout".
log4j: Setting property [conversionPattern] to [%d %p [%c] - <%m>%n].
log4j: End of parsing for "stdout".
log4j: Parsed "stdout" options.
log4j: Parsing appender named "logfile".
log4j: Parsing layout options for "logfile".
log4j: Setting property [conversionPattern] to [%d %p [%c] - %m%n].
log4j: End of parsing for "logfile".
log4j: Setting property [file] to [cas.log].
log4j: Setting property [maxFileSize] to [10MB].
log4j: Setting property [maxBackupIndex] to [3].
log4j: setFile called: cas.log, true
log4j: setFile ended
log4j: Parsed "logfile" options.
log4j: Parsing for [org.jasig.cas.services] with value=[DEBUG ].
log4j: Level token is [DEBUG ].
log4j: Category org.jasig.cas.services set to DEBUG
log4j: Handling log4j.additivity.org.jasig.cas.services=[null]
log4j: Parsing for [org.springframework.acegi.security] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category org.springframework.acegi.security set to DEBUG
log4j: Handling log4j.additivity.org.springframework.acegi.security=[null]
log4j: Parsing for [org.springframework.ldap] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category org.springframework.ldap set to DEBUG
log4j: Handling log4j.additivity.org.springframework.ldap=[null]
log4j: Parsing for [org.jasig.cas.authentication] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category org.jasig.cas.authentication set to DEBUG
log4j: Handling log4j.additivity.org.jasig.cas.authentication=[null]
log4j: Finished configuring.
2009/02/10 09:58:42:640 GMT+07:00 [INFO] cas] - Initializing Spring root
WebApplicationContext
2009/02/10 09:58:42:640 GMT+07:00 [INFO] ContextLoader - Root
WebApplicationContext: initialization started
2009/02/10 09:58:42:703 GMT+07:00 [INFO] XmlWebApplicationContext -
Refreshing
org.springframework.web.context.support.XmlWebApplicationContext@19d5fe6:
display name [Root WebApplicationContext]; startup date [Tue Feb 10 09:58:42
GMT+07:00 2009]; root of context hierarchy
2009/02/10 09:58:42:843 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/spring-configuration/uniqueIdGenerators.xml]
2009/02/10 09:58:43:078 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/spring-configuration/applicationContext.xml]
2009/02/10 09:58:43:156 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/spring-configuration/ticketRegistry.xml]
2009/02/10 09:58:43:187 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/spring-configuration/argumentExtractorsConfiguration.xml]
2009/02/10 09:58:43:250 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/spring-configuration/warnCookieGenerator.xml]
2009/02/10 09:58:43:281 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/spring-configuration/ticketGrantingTicketCookieGenerator.xml]
2009/02/10 09:58:43:328 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/spring-configuration/ticketExpirationPolicies.xml]
2009/02/10 09:58:43:359 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/spring-configuration/propertyFileConfigurer.xml]
2009/02/10 09:58:43:375 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/spring-configuration/securityContext.xml]
2009/02/10 09:58:43:640 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/deployerConfigContext.xml]
2009/02/10 09:58:43:687 GMT+07:00 [INFO] XmlWebApplicationContext - Bean
factory for application context
[org.springframework.web.context.support.XmlWebApplicationContext@19d5fe6]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@3dcf03
2009/02/10 09:58:43:921 GMT+07:00 [INFO] PropertyPlaceholderConfigurer -
Loading properties file from ServletContext resource
[/WEB-INF/cas.properties]
2009/02/10 09:58:44:046 GMT+07:00 [INFO] DefaultListableBeanFactory -
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@3dcf03:
defining beans
[ticketGrantingTicketUniqueIdGenerator,serviceTicketUniqueIdGenerator,proxy20TicketUniqueIdGenerator,samlServiceTicketUniqueIdGenerator,uniqueIdGeneratorsMap,messageSource,servicesManager,httpClient,persistentIdGenerator,centralAuthenticationService,proxy10Handler,proxy20Handler,advisorAutoProxyCreator,validationAnnotationBeanPostProcessor,ticketRegistry,ticketRegistryCleaner,jobDetailTicketRegistryCleaner,triggerJobDetailTicketRegistryCleaner,scheduler,casArgumentExtractor,samlArgumentExtractor,argumentExtractors,warnCookieGenerator,ticketGrantingTicketCookieGenerator,serviceTicketExpirationPolicy,grantingTicketExpirationPolicy,propertyPlaceholderConfigurer,_authenticationManager,_filterChainProxy,_httpSessionContextIntegrationFilter,_filterChainProxyPostProcessor,_filterChainList,_securityContextHolderAwareRequestFilter,_accessManager,_portMapper,_exceptionTranslationFilter,_filterSecurityInterceptor,_sessionFixationProtectionFilter,_logoutFilter,_entryPointInjectionBeanPostProcessor,_userServiceInjectionPostProcessor,serviceProperties,casProcessingFilter,casProcessingFilterEntryPoint,casAuthenticationProvider,authenticationManager,contextSource,userDetailsService,attributeRepository,serviceRegistryDao];
root of factory hierarchy
2009/02/10 09:58:44:562 GMT+07:00 [INFO] QuartzScheduler - Quartz Scheduler
v.1.5.2 created.
2009/02/10 09:58:44:562 GMT+07:00 [INFO] RAMJobStore - RAMJobStore
initialized.
2009/02/10 09:58:44:562 GMT+07:00 [INFO] StdSchedulerFactory - Quartz
scheduler 'scheduler' initialized from an externally provided properties
instance.
2009/02/10 09:58:44:562 GMT+07:00 [INFO] StdSchedulerFactory - Quartz
scheduler version: 1.5.2
2009/02/10 09:58:44:578 GMT+07:00 [INFO] QuartzScheduler - JobFactory set
to: org.springframework.scheduling.quartz.AdaptableJobFactory@de648
2009/02/10 09:58:44:578 GMT+07:00 [INFO] SchedulerFactoryBean - Starting
Quartz Scheduler now
2009/02/10 09:58:44:578 GMT+07:00 [INFO] QuartzScheduler - Scheduler
scheduler_$_NON_CLUSTERED started.
2009/02/10 09:58:44:687 GMT+07:00 [INFO] UserMap - Adding user
[org.springframework.security.userdetails.User@2c1fb400: Username: housny;
Password: [PROTECTED]; Enabled: true; AccountNonExpired: true;
credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities:
Admin, Authenticated, User]
2009/02/10 09:58:44:687 GMT+07:00 [INFO] UserMap - Adding user
[org.springframework.security.userdetails.User@a7c09800: Username: anas;
Password: [PROTECTED]; Enabled: true; AccountNonExpired: true;
credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities:
Admin, Authenticated, User]
2009/02/10 09:58:44:687 GMT+07:00 [INFO] UserMap - Adding user
[org.springframework.security.userdetails.User@bdd07200: Username: epri;
Password: [PROTECTED]; Enabled: true; AccountNonExpired: true;
credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities:
Admin, Authenticated, User]
2009/02/10 09:58:44:687 GMT+07:00 [INFO] UserMap - Adding user
[org.springframework.security.userdetails.User@7ba0e400: Username: dhantie;
Password: [PROTECTED]; Enabled: true; AccountNonExpired: true;
credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities:
Admin, Authenticated, User]
2009/02/10 09:58:44:765 GMT+07:00 [INFO]
EntryPointInjectionBeanPostProcessor - Selecting AuthenticationEntryPoint
for use in ExceptionTranslationFilter
2009/02/10 09:58:44:765 GMT+07:00 [INFO]
EntryPointInjectionBeanPostProcessor - Using main configured
AuthenticationEntryPoint.
2009/02/10 09:58:44:765 GMT+07:00 [INFO]
EntryPointInjectionBeanPostProcessor - Using bean
'org.springframework.security.ui.cas.CasProcessingFilterEntryPoint@1deadf0'
as the entry point.
2009/02/10 09:58:44:812 GMT+07:00 [INFO] AbstractSecurityInterceptor -
Validated configuration attributes
2009/02/10 09:58:44:859 GMT+07:00 [INFO] FilterChainProxyPostProcessor -
Checking sorted filter chain:
[org.springframework.security.context.HttpSessionContextIntegrationFilter[
order=200; ], org.springframework.security.ui.logout.LogoutFilter[
order=300; ], OrderedFilterDecorator[
delegate=org.springframework.security.ui.cas.CasProcessingFilter[ order=600;
]; order=601],
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[
order=1100; ], org.springframework.security.ui.ExceptionTranslationFilter[
order=1400; ],
org.springframework.security.ui.SessionFixationProtectionFilter[ order=1600;
],
org.springframework.security.intercept.web.FilterSecurityInterceptor@8f2588]
2009/02/10 09:58:44:859 GMT+07:00 [INFO] FilterChainProxyPostProcessor -
Filter chain...
2009/02/10 09:58:44:859 GMT+07:00 [INFO] FilterChainProxyPostProcessor - [0]
- org.springframework.security.context.HttpSessionContextIntegrationFilter[
order=200; ]
2009/02/10 09:58:44:859 GMT+07:00 [INFO] FilterChainProxyPostProcessor - [1]
- org.springframework.security.ui.logout.LogoutFilter[ order=300; ]
2009/02/10 09:58:44:859 GMT+07:00 [INFO] FilterChainProxyPostProcessor - [2]
- org.springframework.security.ui.cas.CasProcessingFilter[ order=600; ]
2009/02/10 09:58:44:859 GMT+07:00 [INFO] FilterChainProxyPostProcessor - [3]
-
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[
order=1100; ]
2009/02/10 09:58:44:859 GMT+07:00 [INFO] FilterChainProxyPostProcessor - [4]
- org.springframework.security.ui.ExceptionTranslationFilter[ order=1400; ]
2009/02/10 09:58:44:859 GMT+07:00 [INFO] FilterChainProxyPostProcessor - [5]
- org.springframework.security.ui.SessionFixationProtectionFilter[
order=1600; ]
2009/02/10 09:58:44:859 GMT+07:00 [INFO] FilterChainProxyPostProcessor - [6]
-
org.springframework.security.intercept.web.FilterSecurityInterceptor@8f2588
2009/02/10 09:58:44:875 GMT+07:00 [INFO] FilterChainProxyPostProcessor -
FilterChainProxy: FilterChainProxy[ UrlMatcher =
org.springframework.security.util.AntUrlPathMatcher[requiresLowerCase='true'];
Filter Chains:
{/**=[org.springframework.security.context.HttpSessionContextIntegrationFilter[
order=200; ], org.springframework.security.ui.logout.LogoutFilter[
order=300; ], org.springframework.security.ui.cas.CasProcessingFilter[
order=600; ],
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[
order=1100; ], org.springframework.security.ui.ExceptionTranslationFilter[
order=1400; ],
org.springframework.security.ui.SessionFixationProtectionFilter[ order=1600;
],
org.springframework.security.intercept.web.FilterSecurityInterceptor@8f2588]}]
2009/02/10 09:58:44:890 GMT+07:00 [INFO] ContextLoader - Root
WebApplicationContext: initialization completed in 2250 ms
2009/02/10 09:58:44:953 GMT+07:00 [INFO] cas] - Initializing Spring
FrameworkServlet 'cas'
2009/02/10 09:58:44:953 GMT+07:00 [INFO] DispatcherServlet -
FrameworkServlet 'cas': initialization started
2009/02/10 09:58:44:953 GMT+07:00 [INFO] XmlWebApplicationContext -
Refreshing
org.springframework.web.context.support.XmlWebApplicationContext@71a97:
display name [WebApplicationContext for namespace 'cas-servlet']; startup
date [Tue Feb 10 09:58:44 GMT+07:00 2009]; parent:
org.springframework.web.context.support.XmlWebApplicationContext@19d5fe6
2009/02/10 09:58:44:953 GMT+07:00 [INFO] XmlBeanDefinitionReader - Loading
XML bean definitions from ServletContext resource [/WEB-INF/cas-servlet.xml]
2009/02/10 09:58:45:078 GMT+07:00 [INFO] XmlWebApplicationContext - Bean
factory for application context
[org.springframework.web.context.support.XmlWebApplicationContext@71a97]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@12d34a6
2009/02/10 09:58:45:156 GMT+07:00 [INFO] PropertyPlaceholderConfigurer -
Loading properties file from ServletContext resource
[/WEB-INF/cas.properties]
2009/02/10 09:58:45:156 GMT+07:00 [INFO] DefaultListableBeanFactory -
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@12d34a6:
defining beans
[casPropertyPlaceholderConfigurer2,themeResolver,viewResolver,localeResolver,localeChangeInterceptor,urlBasedViewResolver,errorHandlerResolver,handlerMappingB,handlerMappingC,openIdProviderController,serviceLogoutViewController,loginController,flowExecutor,flowRegistry,proxyValidateController,serviceValidateController,samlValidateController,legacyValidateController,proxyController,logoutController,initialFlowSetupAction,authenticationViaFormAction,generateServiceTicketAction,sendTicketGrantingTicketAction,dynamicRedirectViewSelector,addRegisteredServiceSimpleFormController,editRegisteredServiceSimpleFormController,registeredServiceValidator,manageRegisteredServicesMultiActionController];
parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@3dcf03
2009/02/10 09:58:46:078 GMT+07:00 [INFO] AuthenticationViaFormAction -
FormObjectClass not set.  Using default class of
org.jasig.cas.authentication.principal.UsernamePasswordCredentials with
formObjectName credentials and validator
org.jasig.cas.validation.UsernamePasswordCredentialsValidator.
2009/02/10 09:58:46:140 GMT+07:00 [INFO] DispatcherServlet -
FrameworkServlet 'cas': initialization completed in 1187 ms
2009/02/10 09:58:46:375 GMT+07:00 [INFO] jsp-examples] - ContextListener:
contextInitialized()
2009/02/10 09:58:46:375 GMT+07:00 [INFO] jsp-examples] - SessionListener:
contextInitialized()
2009/02/10 09:59:04:484 GMT+07:00 [INFO] DefaultTicketRegistryCleaner -
Starting cleaning of expired tickets from ticket registry at [Tue Feb 10
09:59:04 GMT+07:00 2009]
2009/02/10 09:59:04:484 GMT+07:00 [INFO] DefaultTicketRegistryCleaner - 0
found to be removed.  Removing now.
2009/02/10 09:59:04:484 GMT+07:00 [INFO] DefaultTicketRegistryCleaner -
Finished cleaning of expired tickets from ticket registry at [Tue Feb 10
09:59:04 GMT+07:00 2009]
2009/02/10 10:03:45:203 GMT+07:00 [INFO] jsp-examples] - SessionListener:
sessionCreated('BF92811B08F8829A42770945C1AB45CA')
2009/02/10 10:03:45:609 GMT+07:00 [INFO] GenericApplicationContext -
Refreshing
org.springframework.context.support.GenericApplicationContext@ab6c19:
display name
[org.springframework.context.support.GenericApplicationContext@ab6c19];
startup date [Tue Feb 10 10:03:45 GMT+07:00 2009]; root of context hierarchy
2009/02/10 10:03:45:609 GMT+07:00 [INFO] GenericApplicationContext - Bean
factory for application context
[org.springframework.context.support.GenericApplicationContext@ab6c19]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@4607b5
2009/02/10 10:03:45:609 GMT+07:00 [INFO] DefaultListableBeanFactory -
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@4607b5:
defining beans []; parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@12d34a6
2009/02/10 10:03:45:812 GMT+07:00 [INFO] InitialFlowSetupAction - Setting
path for cookies to: /cas
2009/02/10 10:03:45:984 GMT+07:00 [INFO] GenericWebApplicationContext -
Refreshing
org.springframework.web.context.support.GenericWebApplicationContext@10d3d99:
display name
[org.springframework.web.context.support.GenericWebApplicationContext@10d3d99];
startup date [Tue Feb 10 10:03:45 GMT+07:00 2009]; parent:
org.springframework.web.context.support.XmlWebApplicationContext@71a97
2009/02/10 10:03:45:984 GMT+07:00 [INFO] GenericWebApplicationContext - Bean
factory for application context
[org.springframework.web.context.support.GenericWebApplicationContext@10d3d99]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@15bd8f
2009/02/10 10:03:46:000 GMT+07:00 [INFO] DefaultListableBeanFactory -
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@15bd8f:
defining beans
[serviceErrorView,casLoginView,viewServiceSsoErrorView,editServiceView,serviceLogoutView,casLogoutView,casLoginConfirmView,addServiceView,casLoginGenericSuccessView,manageServiceView,viewServiceErrorView,casServiceFailureView,casOpenIdServiceFailureView,casSamlServiceFailureView,openIdProviderView,casProxySuccessView,cas1ServiceSuccessView,casServiceSuccessView,postResponseView,casProxyFailureView,casOpenIdServiceSuccessView,casSamlServiceSuccessView,cas1ServiceFailureView];
parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@12d34a6
2009/02/10 10:18:17:281 GMT+07:00 [INFO] AuthenticationManagerImpl -
AuthenticationHandler:
org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler successfully
authenticated the user which provided the following credentials: [username:
anas]
2009/02/10 10:18:17:296 GMT+07:00 [INFO] CentralAuthenticationServiceImpl -
Granted service ticket [ST-1-qENhVyB1jWTpeAISqfXe-cas] for service
[http://xxxx:8080/jsp-examples/HelloWorld] for user [anas]
2009/02/10 10:18:17:703 GMT+07:00 [INFO] jsp-examples] - SessionListener:
attributeAdded('BF92811B08F8829A42770945C1AB45CA',
'edu.yale.its.tp.cas.client.filter.user', 'anas')

-- 
View this message in context: http://www.nabble.com/Log4j-doesn%27t-output-intended-debug-messages-tp21927068p21927068.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message