summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/Logger/LoggingHandlerSyslog.php
Commit message (Collapse)AuthorAgeFilesLines
* Migrate all the logging handlers to namespaces. Make SimpleSAML\Logger a bit ↵Jaime Perez Crespo2016-04-011-75/+0
| | | | 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.
* Clean one-liner comments.Jaime Perez Crespo2015-11-061-1/+1
|
* s/simpleSAMLphp/SimpleSAMLphp/gJaime Perez Crespo2015-11-061-2/+2
| | | | (being respectful with occurences that might change the behaviour, i.e. default database prefixes)
* Move SimpleSAML_Utils_System to SimpleSAML\Utils\System.Jaime Perez Crespo2015-04-201-1/+1
|
* Refactor SimpleSAML_Utilities::isWindowsOS() to ↵Jaime Perez Crespo2015-04-151-1/+1
| | | | | | SimpleSAML_Utilities::getOS(). Reimplemented to support most operating systems. Schedule SimpleSAML_Utilities::isWindowsOS() for removal.
* Reformat the logging classes. Extract the LoggingHandler to its own file. ↵Jaime Perez2014-06-171-23/+38
| | | | Add proper documentation. Fix typos.
* Add a new 'logging.format' option to control the formatting of the logs.Jaime Perez2014-06-171-2/+15
|
* Add SimpleSAML_Utilities::isWindowsOS and chmod file in ↵Andjelko Horvat2012-01-131-1/+1
| | | | | | SimpleSAML_Utilities::writeFile() (issue #469). git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3015 44740490-163a-0410-bde0-09ae8108e29a
* Give default values for all configuration options from config.phpOlav Morken2009-08-141-2/+2
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1665 44740490-163a-0410-bde0-09ae8108e29a
* Adding logo on default templateAndreas Åkre Solberg2008-09-261-2/+3
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@897 44740490-163a-0410-bde0-09ae8108e29a
* Added options to configure processname for logging. Usefull when having ↵Lasse Birnbaum Jensen2008-06-181-2/+3
| | | | | | | | 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
* Update everything to use the autoloader.Olav Morken2008-06-061-3/+0
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@610 44740490-163a-0410-bde0-09ae8108e29a
* Adding a SIMPLESAML_INCPREFIX parameter before the inclusion of new files. ↵Andreas Åkre Solberg2008-03-051-2/+2
| | | | | | 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
* Changed Logging Handler for Syslog. Lasse Birnbaum Jensen2008-02-191-1/+22
| | | | | | 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
* renamed the logger class to follow the guidelines for classnaming. Also ↵Andreas Åkre Solberg2008-02-141-0/+9
| | | | | | 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
* Suggestion for new logger.Lasse Birnbaum Jensen2008-02-071-0/+18
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