ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 27 of file class.ilLoggerFactory.php.
|
protected |
Definition at line 42 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 166 of file class.ilLoggerFactory.php.
References $GLOBALS, ilLogLevel\DEBUG, getSettings(), and isConsoleAvailable().
|
static |
Definition at line 53 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 82 of file class.ilLoggerFactory.php.
Referenced by ilRpcClient\__call(), ilAuthProviderFactory\__construct(), ilCalendarScheduleFilterExercise\__construct(), ilMailCronOrphanedMailsDeletionProcessor\__construct(), ilAuthFrontendCredentials\__construct(), ilMailLuceneSearcher\__construct(), ilImportMapping\__construct(), ilSurveySkill\__construct(), ilZipBackgroundTaskHandler\__construct(), ilCOPageHTMLExport\__construct(), ilStartUpGUI\__construct(), ilAuthProvider\__construct(), ilGlossaryDataSet\__construct(), ilWikiHTMLExport\__construct(), ilAuthFrontend\__construct(), ilWikiDataSet\__construct(), ilObjSurveyGUI\__construct(), ilAuthSession\__construct(), ilExport\__construct(), ilObjFileGUI\__construct(), ilAwarenessUserProvider\__construct(), ilAuthStatus\__construct(), ilImport\__construct(), ilLearningModuleDataSet\__construct(), ilContainerXmlParser\__construct(), ilObjFile\__construct(), ilObjWikiGUI\__construct(), ilGlossaryTermGUI\__construct(), ilSurveyEvaluationGUI\__construct(), ilAuthFrontendFactory\__construct(), ilSurveyPageGUI\__construct(), ilObjLoggingSettingsGUI\__construct(), ilStyleDataSet\__construct(), ilSoapClient\__construct(), ilAdvancedMDParser\__construct(), ilDataSet\__construct(), ilGlossaryTermPermission\__construct(), ilSCORM2004Item\__construct(), ilBackgroundTask\__construct(), ilObjContentObject\__construct(), SurveyQuestionGUI\__construct(), ilLOEditorGUI\__construct(), ilRpcClient\__construct(), ilWikiUserHTMLExport\__construct(), ilRbacReview\__construct(), ilPageContent\__construct(), ilMembershipGUI\__construct(), ilPageContentGUI\__construct(), ilPDStudyProgrammeSimpleListGUI\__construct(), ilAuthContainerLDAP\__construct(), ilObjSurveyQuestionPoolGUI\__construct(), SurveyCategories\__construct(), ilSurveyExecutionGUI\__construct(), ilPageEditorGUI\__construct(), ilObjectCopyGUI\__construct(), ilCategoryXmlParser\__construct(), ilAdvancedMDRecordParser\__construct(), ilMDSaxParser\__construct(), ilMDBase\__construct(), ilPageObject\__construct(), ilPageObjectGUI\__construct(), ilContObjParser\__construct(), ilObjGlossaryGUI\__construct(), ilTree\__construct(), SurveyQuestion\__construct(), ilObjSurvey\__construct(), ilLinkChecker\__validateLinks(), ilAuthUtils\_getAuthModeOfUser(), ilAuthUtils\_initAuth(), ilTree\_removeEntry(), ilLPStatus\_updateStatus(), ilContainer\_writeContainerSetting(), ilDidacticTemplateLocalRoleAction\apply(), ilObject\applyDidacticTemplate(), ilGroupMembershipGUI\assignMembers(), ilCourseMembershipGUI\assignMembers(), ilRbacAdmin\assignRoleToFolder(), ilMimeMail\Attach(), ilCronStartUp\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(), ilObjGroup\cloneObject(), ilObject\cloneObject(), ilContainerSorting\cloneSorting(), ilAwarenessUserCollector\collectUsers(), ilDidacticTemplateGUI\confirmTemplateSwitch(), ilLORandomTestQuestionPools\copy(), ilObjectCopyGUI\copyContainer(), ilObjectCopyGUI\copyContainerToTargets(), ilObjectCopyGUI\copyMultipleNonContainer(), ilRbacAdmin\copyRolePermissionIntersection(), ilContainer\create(), ilDidacticTemplateLocalPolicyAction\createLocalPolicy(), ilObjMediaObject\delete(), ilObjRole\delete(), ilPageObject\delete(), ilDidacticTemplateBlockRoleAction\deleteLocalPolicy(), ilMail\distributeMail(), ilStartUpGUI\doApacheAuthentication(), ilLDAPServer\doConnectionCheck(), ilObjRoleFolderGUI\doRemoveRolePermissions(), ilStartUpGUI\doShibbolethAuthentication(), ilStartUpGUI\doStandardAuthentication(), ilRepositoryGUI\executeCommand(), ilAuthBase\failedLoginObserver(), ilAuthContainerMultiple\fetchData(), ilChatroomServerConnector\file_get_contents(), ilLogComponentTableGUI\fillRow(), ilLuceneSearchResultFilter\filter(), ilDidacticTemplateAction\filterRoles(), ilAuthContainerApache\forceCreation(), ilMembershipNotifications\getActiveUsersforAllObjects(), ilSkillUsage\getAllUsagesOfTemplate(), ilAuthModeDetermination\getAuthModeSequence(), ilLuceneAdvancedSearchFields\getFormElement(), ilAwarenessUserProviderCurrentCourse\getInitialUserSet(), ilMaterializedPathTree\getRelation(), ilNestedSetTree\getRelation(), ilMailRoleAddressType\getRoleIdsByAddress(), ilRbacReview\getRolesOfRoleFolder(), ilMail\getSavedData(), ilNestedSetTree\getSubtreeInfo(), ilMailFormGUI\getTemplateDataById(), ilInitialisation\goToLogin(), ilAuthFrontend\handleAuthenticationSuccess(), ilAuthContainerApache\handleLDAPDataSource(), ilWebLinkXmlParser\handlerEndTag(), ilLuceneSearcher\highlight(), ilCourseObjective\ilClone(), ilSoapUtils\ilClone(), ilSoapUtils\ilCloneDependencies(), ilDidacticTemplateSettingsGUI\importTemplate(), ilStyleImporter\init(), ilContainerImporter\init(), ilLearningModuleImporter\init(), ilWikiExporter\init(), ilCOPageImporter\init(), ilSurveyImporter\init(), ilObjectCopyGUI\init(), ilAuthBase\initAuth(), ilObjectRolePermissionTableGUI\initColumns(), ilParticipantTableGUI\initFilter(), ilRbacAdmin\initIntersectionPermissions(), ilNestedSetTree\insertNode(), ilMaterializedPathTree\insertNode(), ilTree\insertNodeFromTrash(), ilRepUtil\insertSavedNodes(), ilUserProfile\isProfileIncomplete(), ilSoapUtils\linkNode(), ilObjectPlugin\loadRepoPlugin(), ilAuthBase\loginObserver(), ilAuthBase\logoutObserver(), ilStartUpGUI\migrateAccount2(), ilCalendarSchedule\modifyEventByFilters(), ilMaterializedPathTree\moveTree(), ilNestedSetTree\moveTree(), ilAuthLogObserver\notify(), ilLogComponentTableGUI\parse(), ilLuceneHighlighterResultParser\parse(), ilMail\parseAddresses(), ilMembershipGUI\parseSubscriberTable(), ilRepositoryObjectDetailSearch\performLuceneSearch(), ilObjectSearch\performSearch(), ilLuceneSearcher\performSearch(), ilMailCronOrphanedMailsDeletionProcessor\processDeletion(), SurveyQuestion\QTIMaterialToString(), ilLPStatus\raiseEvent(), ilAttendanceList\readOrderedExportableFields(), ilSystemCheckTrash\readSelectedDeleted(), ilLDAPUserSynchronisation\readUserData(), ilObjSearchSettingsGUI\refreshLuceneSettings(), ilMail\replacePlaceholders(), ilMailGroupAddressType\resolve(), ilMailLoginOrEmailAddressAddressType\resolve(), ilMailMailingListAddressType\resolve(), ilInitialisation\resumeUserSession(), ilDidacticTemplateLocalPolicyAction\revertLocalPolicy(), ilMembershipCronNotifications\run(), ilLuceneIndexer\run(), ilMailCronOrphanedMails\run(), ilObjLoggingSettingsGUI\saveComponentLevels(), ilMailCronOrphanedMails\saveCustomSettings(), ilMultilingualismGUI\saveLanguages(), ilPermissionGUI\savePermissions(), ilLPTableBaseGUI\searchObjects(), ilMailNotification\sendMail(), ilObjSurvey\sentReminderPlaceholders(), ilRbacAdmin\setBlockedStatus(), ilFileXMLParser\setFileContents(), ilQueryParser\setMinWordLength(), ilRepositorySearchGUI\showClipboard(), ilObjectCopyGUI\showItemSelection(), ilSearchAppEventListener\storeElement(), ilDidacticTemplateUtils\switchTemplate(), ilLDAPUserSynchronisation\sync(), ilDAVServer\tryAuthentication(), ilPermissionGUI\unblockRoles(), ilLogComponentLevel\update(), ilContainer\update(), ilLuceneIndexer\updateLuceneIndex(), ilParticipant\updateMemberRoles(), ilClient\updateNIC(), ilObjGroupGUI\updateObject(), ilObjectCopyGUI\updateProgress(), ilDidacticTemplateExcludeFilterPattern\valid(), ilDidacticTemplateIncludeFilterPattern\valid(), ilLuceneSearchResult\valid(), ilMaterializedPathTree\validateParentRelations(), ilNestedSetTree\validateParentRelations(), and ilLPStatus\writeStatus().
|
protected |
Definition at line 156 of file class.ilLoggerFactory.php.
References $loggers.
|
static |
The unique root logger has a fixed error level.
Definition at line 92 of file class.ilLoggerFactory.php.
Referenced by ilAssFileUploadUploadsExporter\createFileUploadCollectionZipFile(), ilInitialisation\initLog(), and assFlashQuestion\saveAdditionalQuestionDataToDb().
ilLoggerFactory::getSettings | ( | ) |
Get settigns.
Definition at line 147 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 104 of file class.ilLoggerFactory.php.
References getSettings(), and isConsoleAvailable().
|
protected |
Check if console handler is available.
Definition at line 129 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 69 of file class.ilLoggerFactory.php.
References $settings.
|
private |
Definition at line 39 of file class.ilLoggerFactory.php.
|
staticprivate |
Definition at line 35 of file class.ilLoggerFactory.php.
|
private |
Definition at line 40 of file class.ilLoggerFactory.php.
Referenced by getLoggers().
|
private |
Definition at line 37 of file class.ilLoggerFactory.php.
Referenced by __construct(), getInstance(), getSettings(), and newInstance().
const ilLoggerFactory::COMPONENT_ROOT = 'log_root' |
Definition at line 32 of file class.ilLoggerFactory.php.
const ilLoggerFactory::DEFAULT_FORMAT = "[%suid%] [%datetime%] %channel%.%level_name%: %message% %context% %extra%\n" |
Definition at line 29 of file class.ilLoggerFactory.php.
const ilLoggerFactory::ROOT_LOGGER = 'root' |
Definition at line 31 of file class.ilLoggerFactory.php.
const ilLoggerFactory::SETUP_LOGGER = 'setup' |
Definition at line 33 of file class.ilLoggerFactory.php.