ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Logging factory. More...
Public Member Functions | |
initUser ($a_login) | |
Init user specific log options. More... | |
getSettings () | |
Get settigns. More... | |
getComponentLogger ($a_component_id) | |
Get component logger. More... | |
Static Public Member Functions | |
static | getInstance () |
static | newInstance (ilLoggingSettings $settings) |
get new instance More... | |
static | getLogger ($a_component_id) |
Get component logger. More... | |
static | getRootLogger () |
The unique root logger has a fixed error level. More... | |
Data Fields | |
const | DEFAULT_FORMAT = "[%suid%] [%datetime%] %channel%.%level_name%: %message% %context% %extra%\n" |
const | ROOT_LOGGER = 'root' |
const | COMPONENT_ROOT = 'log_root' |
const | SETUP_LOGGER = 'setup' |
Protected Member Functions | |
__construct (ilLoggingSettings $settings) | |
isConsoleAvailable () | |
Check if console handler is available. More... | |
getLoggers () | |
Private Attributes | |
$settings = null | |
$enabled = false | |
$loggers = array() | |
Static Private Attributes | |
static | $instance = null |
Logging factory.
This class supplies an implementation for the locator. The locator will send its output to ist own frame, enabling more flexibility in the design of the desktop.
Definition at line 26 of file class.ilLoggerFactory.php.
|
protected |
Definition at line 41 of file class.ilLoggerFactory.php.
References $settings, getSettings(), and settings().
ilLoggerFactory::getComponentLogger | ( | $a_component_id | ) |
Get component logger.
type | $a_component_id |
Definition at line 158 of file class.ilLoggerFactory.php.
References $GLOBALS, ilLogLevel\DEBUG, defined, getSettings(), and isConsoleAvailable().
|
static |
Definition at line 51 of file class.ilLoggerFactory.php.
References $settings, and ilLoggingDBSettings\getInstance().
Referenced by ilGroupAppEventListener\__construct(), ilCourseAppEventListener\__construct(), ilRbacAdmin\assignUser(), ilRbacAdmin\deassignUser(), ilGroupAppEventListener\handleUserAssignments(), ilCourseAppEventListener\handleUserAssignments(), ilInitialisation\initILIAS(), ilInitialisation\initStyle(), and ilParticipant\updateMemberRoles().
|
static |
Get component logger.
string | $a_component_id |
Definition at line 79 of file class.ilLoggerFactory.php.
References $factory.
Referenced by ilRpcClient\__call(), ilAuthProviderFactory\__construct(), ilCalendarScheduleFilterExercise\__construct(), ilAuthFrontendCredentials\__construct(), ilFSWebStorageExercise\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilUserStartingPointGUI\__construct(), ilMediaObjectDataSet\__construct(), ilImportMapping\__construct(), ilZipBackgroundTaskHandler\__construct(), ilAuthProvider\__construct(), ilStartUpGUI\__construct(), ilGlossaryDataSet\__construct(), ilWikiDataSet\__construct(), ilAuthFrontend\__construct(), ilMailCronOrphanedMailsDeletionProcessor\__construct(), ilObjUserFolderGUI\__construct(), ilExport\__construct(), ilSurveySkill\__construct(), ilAwarenessUserProvider\__construct(), ilAuthStatus\__construct(), ilImport\__construct(), ilLearningModuleDataSet\__construct(), ilObjFileGUI\__construct(), ilAuthFrontendFactory\__construct(), ilObjLoggingSettingsGUI\__construct(), ilStyleDataSet\__construct(), ilSoapClient\__construct(), ilAdvancedMDParser\__construct(), ilGlossaryTermPermission\__construct(), ilContainerXmlParser\__construct(), ilBackgroundTask\__construct(), ilSCORM2004Item\__construct(), ilLOEditorGUI\__construct(), ilWikiHTMLExport\__construct(), ilRpcClient\__construct(), ilObjWikiGUI\__construct(), ilWikiUserHTMLExport\__construct(), ilDataSet\__construct(), ilRbacReview\__construct(), ilPageContent\__construct(), ilObjSurveyGUI\__construct(), ilCOPageHTMLExport\__construct(), ilMembershipGUI\__construct(), ilGlossaryTermGUI\__construct(), ilPDStudyProgrammeSimpleListGUI\__construct(), SurveyCategories\__construct(), ilPageContentGUI\__construct(), ilObjContentObject\__construct(), ilSurveyEvaluationGUI\__construct(), ilAdvancedMDRecordParser\__construct(), ilCategoryXmlParser\__construct(), ilObjSurveyQuestionPoolGUI\__construct(), ilMDSaxParser\__construct(), ilMDBase\__construct(), ilSurveyPageGUI\__construct(), ilPageEditorGUI\__construct(), ilSurveyExecutionGUI\__construct(), SurveyQuestionGUI\__construct(), ilObjFile\__construct(), ilExAssignment\__construct(), ilAccess\__construct(), ilContObjParser\__construct(), ilContainerContentGUI\__construct(), ilObjGlossaryGUI\__construct(), ilObjectCopyGUI\__construct(), ilPageObjectGUI\__construct(), ilPageObject\__construct(), ilTree\__construct(), SurveyQuestion\__construct(), ilObjSurvey\__construct(), ilAccountRegistrationGUI\__distributeMails(), ilLinkChecker\__validateLinks(), ilStartUpGUI\_checkGoto(), ilAuthUtils\_getAuthModeOfUser(), ilObject\_prepareCloneSelection(), ilTree\_removeEntry(), ilLPStatus\_updateStatus(), ilContainer\_writeContainerSetting(), ilObjUser\_writeHistory(), ilDidacticTemplateLocalRoleAction\apply(), ilObject\applyDidacticTemplate(), ilGroupMembershipGUI\assignMembers(), ilCourseMembershipGUI\assignMembers(), ilRbacAdmin\assignRoleToFolder(), ilCronStartUp\authenticate(), ilWebDAVAuthentication\authenticate(), ilInitialisation\authenticate(), ilSearchGUI\autoComplete(), ilInitialisation\blockedAuthentication(), ilvCard\buildVCard(), ilObjLinkResourceGUI\callLink(), ilSoapUtils\callNextDependency(), ilSoapUtils\callNextNode(), ilCaptchaUtil\checkFreetype(), ilAuthFrontend\checkIp(), ilContainer\cloneAllObject(), ilObjGroup\cloneAutoGeneratedRoles(), ilCourseObjectiveQuestion\cloneDependencies(), ilSoapUtils\cloneDependencies(), ilSoapUtils\cloneNode(), ilContainerSorting\cloneSorting(), ilAwarenessUserCollector\collectUsers(), ilDidacticTemplateGUI\confirmTemplateSwitch(), ilLORandomTestQuestionPools\copy(), ilObjectCopyGUI\copyContainer(), ilObjectCopyGUI\copyContainerToTargets(), ilContObjParser\copyMobFiles(), ilObjectCopyGUI\copyMultipleNonContainer(), ilRbacAdmin\copyRolePermissionIntersection(), ilContainer\create(), ilDidacticTemplateLocalPolicyAction\createLocalPolicy(), ilObjMediaObject\delete(), ilObjRole\delete(), ilPageObject\delete(), ilDidacticTemplateBlockRoleAction\deleteLocalPolicy(), ilMail\distributeMail(), ilStartUpGUI\doApacheAuthentication(), ilLDAPServer\doConnectionCheck(), ilStartUpGUI\doLTIAuthentication(), ilObjRoleFolderGUI\doRemoveRolePermissions(), ilStartUpGUI\doSamlAuthentication(), ilStartUpGUI\doShibbolethAuthentication(), ilStartUpGUI\doStandardAuthentication(), ilRepositoryGUI\executeCommand(), ilAuthBase\failedLoginObserver(), ilChatroomServerConnector\file_get_contents(), ilLogComponentTableGUI\fillRow(), ilLuceneSearchResultFilter\filter(), ilDidacticTemplateAction\filterRoles(), ilAuthContainerApache\forceCreation(), ilLTIToolConsumer\fromRecordId(), ilMembershipNotifications\getActiveUsersforAllObjects(), ilSkillUsage\getAllUsagesOfTemplate(), ilAuthModeDetermination\getAuthModeSequence(), ilLuceneAdvancedSearchFields\getFormElement(), ilAttendanceList\getHTML(), ilAwarenessUserProviderCurrentCourse\getInitialUserSet(), ilContainerBlockPropertiesStorage\getProperty(), ilMaterializedPathTree\getRelation(), ilNestedSetTree\getRelation(), ilRbacReview\getRolesOfRoleFolder(), ilNestedSetTree\getSubtreeInfo(), ilInitialisation\goToLogin(), ilAuthFrontend\handleAuthenticationSuccess(), ilAuthContainerApache\handleLDAPDataSource(), ilWebLinkXmlParser\handlerEndTag(), ilAuthProviderSaml\handleSamlAuth(), ilLuceneSearcher\highlight(), ilCourseObjective\ilClone(), ilSoapUtils\ilClone(), ilSoapUtils\ilCloneDependencies(), ilDidacticTemplateSettingsGUI\importTemplate(), ilAuthProviderSaml\importUser(), ilStyleImporter\init(), ilContainerImporter\init(), ilLearningModuleImporter\init(), ilWikiExporter\init(), ilSurveyImporter\init(), ilObjectCopyGUI\init(), ilAuthBase\initAuth(), ilObjectRolePermissionTableGUI\initColumns(), ilDidacticTemplateSettingsGUI\initEditTemplate(), ilParticipantTableGUI\initFilter(), ilRbacAdmin\initIntersectionPermissions(), ilNestedSetTree\insertNode(), ilMaterializedPathTree\insertNode(), ilTree\insertNodeFromTrash(), ilRepUtil\insertSavedNodes(), ilAuthProviderLTI\isAuthModeLTI(), ilUserProfile\isProfileIncomplete(), ilMailLoginOrEmailAddressAddressType\isValid(), ilMailMailingListAddressType\isValid(), ilSoapUtils\linkNode(), ilObjectPlugin\loadRepoPlugin(), ilAuthBase\loginObserver(), ilAuthBase\logoutObserver(), ilCalendarSchedule\modifyEventByFilters(), ilMaterializedPathTree\moveTree(), ilNestedSetTree\moveTree(), ilAuthLogObserver\notify(), ilLogComponentTableGUI\parse(), ilLuceneHighlighterResultParser\parse(), ilMail\parseAddresses(), ilMembershipGUI\participantsResetFilter(), ilRepositoryObjectDetailSearch\performLuceneSearch(), ilObjectSearch\performSearch(), ilLuceneSearcher\performSearch(), ilMailCronOrphanedMailsDeletionProcessor\processDeletion(), SurveyQuestion\QTIMaterialToString(), ilLPStatus\raiseEvent(), ilAttendanceList\readOrderedExportableFields(), ilObjLTIAdministration\readReleaseObjects(), ilSystemCheckTrash\readSelectedDeleted(), ilLDAPUserSynchronisation\readUserData(), ilWaitingListTableGUI\readUserData(), ilInitialisation\redirect(), ilObjSearchSettingsGUI\refreshLuceneSettings(), ilMail\replacePlaceholders(), ilMailGroupAddressType\resolve(), ilMailLoginOrEmailAddressAddressType\resolve(), ilMailMailingListAddressType\resolve(), ilMailRoleAddressType\resolve(), ilInitialisation\resumeUserSession(), ilDidacticTemplateLocalPolicyAction\revertLocalPolicy(), ilMembershipCronNotifications\run(), ilLuceneIndexer\run(), ilSkillNotifications\run(), ilMailCronOrphanedMails\run(), ilObjLoggingSettingsGUI\saveComponentLevels(), ilMailCronOrphanedMails\saveCustomSettings(), ilMultilingualismGUI\saveLanguages(), ilPermissionGUI\savePermissions(), ilMailLuceneSearcher\search(), ilLPTableBaseGUI\searchObjects(), ilMailMimeTransportNull\send(), ilMailMimeTransportBase\send(), IMSGlobal\LTI\HTTPMessage\send(), ilMailNotification\sendMail(), ilMail\sendMail(), ilObjSurvey\sentReminderPlaceholders(), ilRbacAdmin\setBlockedStatus(), ilFileXMLParser\setFileContents(), ilQueryParser\setMinWordLength(), ilRepositorySearchGUI\showClipboard(), ilMailFormGUI\showForm(), ilObjectCopyGUI\showItemSelection(), ilSearchAppEventListener\storeElement(), ilContainerBlockPropertiesStorage\storeProperty(), ilDidacticTemplateUtils\switchTemplate(), ilLDAPUserSynchronisation\sync(), ilDAVServer\tryAuthentication(), ilPermissionGUI\unblockRoles(), ilLogComponentLevel\update(), ilContainer\update(), ilLuceneIndexer\updateLuceneIndex(), ilParticipant\updateMemberRoles(), ilClient\updateNIC(), ilObjGroupGUI\updateObject(), ilObjectCopyGUI\updateProgress(), ilExAssignment\uploadAssignmentFiles(), ilDidacticTemplateExcludeFilterPattern\valid(), ilDidacticTemplateIncludeFilterPattern\valid(), ilLuceneSearchResult\valid(), ilMaterializedPathTree\validateParentRelations(), ilNestedSetTree\validateParentRelations(), and ilLPStatus\writeStatus().
|
protected |
Definition at line 148 of file class.ilLoggerFactory.php.
References $loggers.
|
static |
The unique root logger has a fixed error level.
Definition at line 89 of file class.ilLoggerFactory.php.
References $factory.
Referenced by ilAssFileUploadUploadsExporter\createFileUploadCollectionZipFile(), ilCalendarFileHandler\downloadFilesForEvents(), ilCalendarInboxGUI\executeCommand(), ilInitialisation\initLog(), and assFlashQuestion\saveAdditionalQuestionDataToDb().
ilLoggerFactory::getSettings | ( | ) |
Get settigns.
Definition at line 139 of file class.ilLoggerFactory.php.
References $settings.
Referenced by __construct(), getComponentLogger(), and initUser().
ilLoggerFactory::initUser | ( | $a_login | ) |
Init user specific log options.
type | $a_login |
Definition at line 101 of file class.ilLoggerFactory.php.
References getSettings(), and isConsoleAvailable().
|
protected |
Check if console handler is available.
Definition at line 123 of file class.ilLoggerFactory.php.
References $_GET, ilContext\CONTEXT_WEB, and ilContext\getType().
Referenced by getComponentLogger(), and initUser().
|
static |
get new instance
ilLoggingSettings | $settings |
Definition at line 66 of file class.ilLoggerFactory.php.
References $settings.
|
private |
Definition at line 38 of file class.ilLoggerFactory.php.
|
staticprivate |
Definition at line 34 of file class.ilLoggerFactory.php.
|
private |
Definition at line 39 of file class.ilLoggerFactory.php.
Referenced by getLoggers().
|
private |
Definition at line 36 of file class.ilLoggerFactory.php.
Referenced by __construct(), getInstance(), getSettings(), and newInstance().
const ilLoggerFactory::COMPONENT_ROOT = 'log_root' |
Definition at line 31 of file class.ilLoggerFactory.php.
const ilLoggerFactory::DEFAULT_FORMAT = "[%suid%] [%datetime%] %channel%.%level_name%: %message% %context% %extra%\n" |
Definition at line 28 of file class.ilLoggerFactory.php.
const ilLoggerFactory::ROOT_LOGGER = 'root' |
Definition at line 30 of file class.ilLoggerFactory.php.
const ilLoggerFactory::SETUP_LOGGER = 'setup' |
Definition at line 32 of file class.ilLoggerFactory.php.