| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
more intelligent so that it allows using custom logging handlers. Now you just need to implement SimpleSAML\Logger\LogginghandlerInterface in a class, and set the 'logging.handler' option in the configuration file to a string with the full name of your class.
|
| |
|
|
|
|
| |
filesystem anyway, so why checking?
|
| |
|
| |
|
|
|
|
| |
private.
|
| |
|
| |
|
|
|
|
| |
(being respectful with occurences that might change the behaviour, i.e. default database prefixes)
|
| |
|
|
|
|
| |
SimpleSAML\Utils\Time::initTimezone(). Deprecate the former.
|
|
|
|
|
|
| |
SimpleSAML_Utilities::getOS(). Reimplemented to support most operating systems.
Schedule SimpleSAML_Utilities::isWindowsOS() for removal.
|
|
|
|
| |
Add proper documentation. Fix typos.
|
| |
|
|
|
|
|
|
| |
SimpleSAML_Utilities::writeFile() (issue #469).
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3015 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
|
|
|
|
|
| |
PHP on Windows does not differentiate between all the different log
levels, which means that attempting to specify the 'logging.level'
option will not work properly. This patch replaces the use of the
syslog constants with custom constants.
Thanks to Ryan Panning for fixing this bug!
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2981 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2251 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1665 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1448 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@897 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
|
|
| |
multiple installations on the same machine.
Processname in the log is determined by the 'logging.processname' configuration key. It defaults to "simpleSAMLphp" if not set.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@667 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@610 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@586 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
This workaround was neccessary for university of oslo to make simplesamlphp work when ini_Set was not available.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@353 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
patch was provided by Kenneth Svee! Thanks!
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@327 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
Now compatible with logging on Windows servers (Eventlog). Solution done from suggestions. Windows server owners please verify this fix.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@316 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
added some new log entries, and add an entry for SSO login statistics
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@297 44740490-163a-0410-bde0-09ae8108e29a
|
|
TrackID is always prepended to the logstring
New logging options in config-template.php
Possible to configure logging to use syslog or file
Please test the new logging function.
Logging handler has only been added. The old logging function is still uses in the code.
After test all logging calls should be rewritten to the new format.
Usage:
Required:
require_once('SimpleSAML/Logger.php');
Logging:
Logger::emergency("text to log");
Logger::critical("text to log");
Logger::alert("text to log");
Logger::error("text to log");
Logger::warning("text to log");
Logger::notice("text to log");
Logger::info("text to log");
Logger::debug("text to log");
Logger::emergency("text to log");
Logger::info(array("text","to","log"));
Statistics:
Stats are prepended with STAT in the logfile for easier analysis.
Logger::stats("SSO");
Example (syslog):
Feb 7 21:02:33 server_name simpleSAMLphp[pid]: [trackid] loglevel text to log
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@268 44740490-163a-0410-bde0-09ae8108e29a
|