Wadii,

Create a file called log4j.properties and store it within the
WEB-INF/classes directory of your web application and enabled debugging from
the org.jasig.cas.client package.  Here is a simple example below that sets
the default logging level to WARN and has all output being sent to the
console, however the logging level for the CAS client package is DEBUG.

log4j.rootLogger=WARN, stdout

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.logger.org.jasig.cas.client=DEBUG

I suggest you read the log4j manual to learn more especially if you are
going to be maintaining Java applications as it is one of the preferred
logging frameworks: http://logging.apache.org/log4j/1.2/manual.html

HTH,
A-

On 11/13/08 3:37 AM, "wadii" <[EMAIL PROTECTED]> wrote:

>  Hi,
> 
> How can I activate a debug level within cas-client 3.1.3 to have more logs?
> 
> 
> Wadii
> 
> 
> 
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas

-- 
Andrew R. Feller, Analyst
Information Technology Services
200 Fred Frey Building
Louisiana State University
Baton Rouge, LA 70803
(225) 578-3737 (Office)
(225) 578-6400 (Fax)

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to