• Welcome to KonaKart Community Forum. Please login or sign up.
 

Konakart Admin log4j Configuration

Started by Asset, August 18, 2011, 01:09:30 pm

Previous topic - Next topic

Asset

Dears ,
  Regarding the logging of Konakart Admin ,  What i understood that it uses log4j and it is configured on konakart-logging.properties located under webapps\konakartadmin\WEB-INF\classes

first i couldn't find any file named konakart.log , that was defined in the properties file.
I changed the location , in addition to debug level as follows :

log4j.appender.KonaKartAppender.file=c:/logs/KonaKart.log
log4j.logger.com.konakart                     = DEBUG
log4j.logger.com.konakartadmin                = DEBUG

and nothing was written !

any idea what should i do to make it work , to be able to trace things !

Best Regards,

Asset

it works normally , I just forgot to add the KonaKartAppender to rootlogger :)