diff --git a/index.php b/index.php index 432cba4..73457cf 100644 --- a/index.php +++ b/index.php @@ -32,8 +32,17 @@ $cas_servers=array( // FQDN of CAS server $default_cas_server=key($cas_servers); -// PhpCAS log file -$phpCAS_logfile='cas.log'; +// PhpCAS debug logs + +// Log directory path +$phpCAS_logdir='logs'; + +// Log filename format +// Compose with : +// - {cas_server} : the CAS server +// - {remote_addr} : connected user remote IP address +// - {session_id} : connected user session_id +$phpCAS_logfile_format='{session_id}-{cas_server}.log'; // Local app URL (auto-detect on first acces if null) $service_url=null; @@ -207,6 +216,13 @@ foreach($cas_servers as $srv => $opts) {