Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve routine logging #57

Open
apetro opened this issue Nov 16, 2012 · 2 comments
Open

Improve routine logging #57

apetro opened this issue Nov 16, 2012 · 2 comments
Milestone

Comments

@apetro
Copy link

apetro commented Nov 16, 2012

Going beyond the debug logging, implement routine logging akin to that available in other language/platform CAS client libraries.

Perhaps adding use of a logging framework such as log4php.

represents PHPCAS-135 in GitHub issue tracker.

@jfritschi
Copy link
Contributor

I agree. We need a bit more modular approach for logging/debugging. There is currently no real logging that is suitable for normal operations and error recording etc.

Something like log4php might be a solution.

@aabrahamian
Copy link

Logging via something like log4php would be really useful to know exactly what went wrong when exceptions are thrown.
I recently tested what error/exception would happen if the cert path was wrong (from phpCAS::setCasServerCACert()) and all I got was the "CAS Authentication failed!" page and a CAS_AuthenticationException with no message string.
I looked at the other issues and nothing seems to address this directly. Has this enhancement been solved in a different way? Is this enhancement dead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants