CAS java client logs
Andrew Ralph Feller, afelle1
afelle1 at lsu.edu
Thu Nov 13 08:16:35 EST 2008
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" <wadii_a at yahoo.fr> wrote:
> Hi,
>
> How can I activate a debug level within cas-client 3.1.3 to have more logs?
>
>
> Wadii
>
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20081113/66237420/attachment.html
More information about the cas
mailing list