phpCAS
phpCAS copied to clipboard
Improve routine logging
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.
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.
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?