Fork me on GitHub

Announcement

The oneye project has been discontinued. You might not expect further fixes and support from us. All community related systems are set to read-only mode. Though feel free to download and use oneye as-is or even fork it over at GitHub.

#1 2012-03-18 17:59:13

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

New log service

Hey guys,

some minutes ago I committed (revisions 7413 and 7414) a new log service. This new service is absolutely incompatible with the old one, either talking about APIs and log file output. It's comming from the developent efforts of oneye 0.9.

It's not recommended to turn on the log on production systems nor development systems. It's written for logging in special situations.

The new log service creates one file per request (which is quite much!), cascades function calls, can be used on fatal errors or endless loops to determine where they come from and collects time statistics. Just take a look at it on your own. The following is what I get when calling oneye 0.8 with a clean browser.

Tip: Scroll down to see some more statistics.

Request : http://localhost/oneye/

lib_errorCodes_loadCodes
lib_eyePear_loadPear
service_sec_start
lib_eyeWidgets_loadWidgets
lib_eyeSessions_startSession
	lib_eyeSessions_getSessionId
	lib_eyeIPC_isSet
	lib_eyeIPC_getVar
lib_eyeWidgets_checkTable
	lib_eyeSessions_checkVar
lib_eyeSessions_checkVar
service_proc_findPidByName
	service_proc_getProcessTable
		lib_eyeSessions_getVar
service_proc_getTask
	service_proc_getProcByPid
		service_proc_getProcessTable
			lib_eyeSessions_getVar
	lib_i18n_loadLang
	lib_eyeSessions_setVar
	lib_eyeSessions_setVar
	lib_i18n_translate
	lib_eyeXML_getXMLfile
		service_vfs_real_getFileContent
			service_vfs_real_checkPermissions
				service_um_getCurrentUserDir
				service_vfs_checkSpecialChars
				service_um_getUserFilePath
					lib_errorCodes_setErrorCode
	lib_i18n_translate
	lib_i18n_translate
	lib_i18n_translate
	lib_i18n_translate

Statistics
==========
Quantity :      33 x
Kernel   :   14037 ms (22.47 %)
Services :   48437 ms (77.53 %)
Total    :   62474 ms

By average microtime
====================
lib_eyeWidgets_loadWidgets               31829 ms (    1 x)
lib_eyeXML_getXMLfile                     4552 ms (    1 x)
service_proc_getTask                      3418 ms (    1 x)
service_vfs_real_checkPermissions         2909 ms (    1 x)
lib_eyeIPC_isSet                          1536 ms (    1 x)
lib_eyeSessions_startSession              1530 ms (    1 x)
lib_eyeIPC_getVar                          922 ms (    1 x)
lib_i18n_loadLang                          798 ms (    1 x)
service_vfs_real_getFileContent            408 ms (    1 x)
service_proc_findPidByName                  72 ms (    1 x)
service_proc_getProcByPid                   66 ms (    1 x)
lib_eyeWidgets_checkTable                   62 ms (    1 x)
service_proc_getProcessTable                56 ms (    2 x)
service_um_getUserFilePath                  53 ms (    1 x)
lib_eyePear_loadPear                        43 ms (    1 x)
lib_errorCodes_loadCodes                    38 ms (    1 x)
service_vfs_checkSpecialChars               13 ms (    1 x)
service_sec_start                           10 ms (    1 x)
lib_eyeSessions_getSessionId                 7 ms (    1 x)
lib_i18n_translate                           6 ms (    5 x)
lib_eyeSessions_setVar                       6 ms (    2 x)
lib_eyeSessions_getVar                       6 ms (    2 x)
lib_eyeSessions_checkVar                     6 ms (    2 x)
lib_errorCodes_setErrorCode                  6 ms (    1 x)
service_um_getCurrentUserDir                 5 ms (    1 x)

By total microtime
==================
lib_eyeWidgets_loadWidgets               31829 ms (65.71 %)
lib_eyeXML_getXMLfile                     4552 ms ( 9.40 %)
service_proc_getTask                      3418 ms ( 7.06 %)
service_vfs_real_checkPermissions         2909 ms ( 6.01 %)
lib_eyeIPC_isSet                          1536 ms ( 3.17 %)
lib_eyeSessions_startSession              1530 ms ( 3.16 %)
lib_eyeIPC_getVar                          922 ms ( 1.90 %)
lib_i18n_loadLang                          798 ms ( 1.65 %)
service_vfs_real_getFileContent            408 ms ( 0.84 %)
service_proc_getProcessTable               111 ms ( 0.23 %)
service_proc_findPidByName                  72 ms ( 0.15 %)
service_proc_getProcByPid                   66 ms ( 0.13 %)
lib_eyeWidgets_checkTable                   62 ms ( 0.13 %)
service_um_getUserFilePath                  53 ms ( 0.11 %)
lib_eyePear_loadPear                        43 ms ( 0.09 %)
lib_errorCodes_loadCodes                    38 ms ( 0.08 %)
lib_i18n_translate                          30 ms ( 0.06 %)
service_vfs_checkSpecialChars               13 ms ( 0.03 %)
lib_eyeSessions_setVar                      12 ms ( 0.02 %)
lib_eyeSessions_getVar                      11 ms ( 0.02 %)
lib_eyeSessions_checkVar                    11 ms ( 0.02 %)
service_sec_start                           10 ms ( 0.02 %)
lib_eyeSessions_getSessionId                 7 ms ( 0.01 %)
lib_errorCodes_setErrorCode                  6 ms ( 0.01 %)
service_um_getCurrentUserDir                 5 ms ( 0.01 %)

By quantity
===========
lib_i18n_translate                           5 x  (15.15 %)
lib_eyeSessions_setVar                       2 x  ( 6.06 %)
service_proc_getProcessTable                 2 x  ( 6.06 %)
lib_eyeSessions_checkVar                     2 x  ( 6.06 %)
lib_eyeSessions_getVar                       2 x  ( 6.06 %)
service_um_getCurrentUserDir                 1 x  ( 3.03 %)
lib_errorCodes_loadCodes                     1 x  ( 3.03 %)
lib_eyePear_loadPear                         1 x  ( 3.03 %)
lib_errorCodes_setErrorCode                  1 x  ( 3.03 %)
service_vfs_checkSpecialChars                1 x  ( 3.03 %)
service_um_getUserFilePath                   1 x  ( 3.03 %)
lib_eyeSessions_getSessionId                 1 x  ( 3.03 %)
service_sec_start                            1 x  ( 3.03 %)
lib_eyeWidgets_checkTable                    1 x  ( 3.03 %)
lib_eyeIPC_isSet                             1 x  ( 3.03 %)
service_vfs_real_checkPermissions            1 x  ( 3.03 %)
service_proc_getTask                         1 x  ( 3.03 %)
lib_eyeXML_getXMLfile                        1 x  ( 3.03 %)
lib_eyeSessions_startSession                 1 x  ( 3.03 %)
lib_eyeIPC_getVar                            1 x  ( 3.03 %)
service_proc_getProcByPid                    1 x  ( 3.03 %)
service_proc_findPidByName                   1 x  ( 3.03 %)
service_vfs_real_getFileContent              1 x  ( 3.03 %)
lib_i18n_loadLang                            1 x  ( 3.03 %)
lib_eyeWidgets_loadWidgets                   1 x  ( 3.03 %)

EDIT: I'd like to get some feedback about how we could use these logs to improve oneye 0.8 and maybe there are some nice ideas to further improve logging smile .


Best regards,
Lars Knickrehm

The oneye project.

Offline

#2 2012-03-18 18:07:08

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: New log service

Just for people, that are curious, here is a random log file from my local oneye 0.9 branch.

Notes: oneye 0.9 produces a quite long list of function calls, but guys, it's just doing a lot more things via service calls for now. And as you can see its total time is on the same level as oneye 0.8.

Request : http://localhost/local/oneye/

service_sessions_GetWindowId
	service_misc_GetRandomString
	service_sessions_GetSystem
		service_files_Realpath
		service_arrays_GetRecursive
	service_sessions_SetSystem
		service_files_Realpath
		service_arrays_SetRecursive
			service_arrays_SetRecursive
				service_arrays_SetRecursive
					service_arrays_SetRecursive
	service_sessions_SetSystem
		service_files_Realpath
		service_arrays_SetRecursive
			service_arrays_SetRecursive
				service_arrays_SetRecursive
					service_arrays_SetRecursive
service_sessions_GetSystem
	service_files_Realpath
	service_arrays_GetRecursive
service_sessions_SetSystem
	service_files_Realpath
	service_arrays_SetRecursive
		service_arrays_SetRecursive
			service_arrays_SetRecursive
service_processes_Start
	service_packages_GetInformation
		service_files_Basename
			service_files_Realpath
		service_data_ReadFile
			service_data_GetTypes
			service_files_Realpath
			service_files_ReadFile
				service_files_Realpath
				service_files_GetFilesystem
				service_files_CheckPermissions
	service_processes_GetAll
		service_sessions_GetSystem
			service_files_Realpath
			service_arrays_GetRecursive
	service_sessions_GetSystem
		service_files_Realpath
		service_arrays_GetRecursive
	service_misc_ReplaceTokens
	service_sessions_GetSystem
		service_files_Realpath
		service_arrays_GetRecursive
	service_users_Exists
		service_users_CheckUsername
			service_config_ReadSystem
				service_files_Basename
					service_files_Realpath
				service_data_Decode
					service_data_GetTypes
	service_config_ReadSystem
		service_files_Basename
			service_files_Realpath
		service_data_Decode
			service_data_GetTypes
	service_sessions_SetSystem
		service_files_Realpath
		service_arrays_SetRecursive
			service_arrays_SetRecursive
				service_arrays_SetRecursive
	service_users_GetCurrent
		service_sessions_GetSystem
			service_files_Realpath
			service_arrays_GetRecursive
	service_sessions_SetSystem
		service_files_Realpath
		service_arrays_SetRecursive
			service_arrays_SetRecursive
				service_arrays_SetRecursive
	service_files_GetType
		service_files_Realpath
		service_files_GetFilesystem
		service_files_CheckPermissions
	service_sessions_GetSystem
		service_files_Realpath
		service_arrays_GetRecursive
	service_langs_BrowserCheck
		service_files_ReadFolderContent
			service_files_Realpath
			service_files_GetFilesystem
			service_files_CheckPermissions
		service_files_GetType
			service_files_Realpath
			service_files_GetFilesystem
			service_files_CheckPermissions
	service_langs_Set
		service_files_Basename
			service_files_Realpath
		service_files_GetType
			service_files_Realpath
			service_files_GetFilesystem
			service_files_CheckPermissions
		service_sessions_SetSystem
			service_files_Realpath
			service_arrays_SetRecursive
				service_arrays_SetRecursive
					service_arrays_SetRecursive
	service_kernel_GetPrivilege
	service_kernel_GetPrivilege
	service_kernel_SetPrivilege
		service_kernel_IsPrivilege
	service_sessions_Set
		service_processes_Get
			service_sessions_GetSystem
				service_files_Realpath
				service_arrays_GetRecursive
		service_files_Realpath
		service_arrays_SetRecursive
			service_arrays_SetRecursive
				service_arrays_SetRecursive
					service_arrays_SetRecursive
	service_config_ReadSystem
		service_files_Basename
			service_files_Realpath
		service_data_Decode
			service_data_GetTypes
	service_kernel_SetPrivilege
		service_kernel_IsPrivilege
	service_responses_AddKernel
	service_sessions_GetSystem
		service_files_Realpath
		service_arrays_GetRecursive
	service_files_GetType
		service_files_Realpath
		service_files_GetFilesystem
		service_files_CheckPermissions
	service_kernel_GetPrivilege
	service_kernel_GetPrivilege
	service_kernel_SetPrivilege
		service_kernel_IsPrivilege
	service_config_ReadSystem
		service_files_Basename
			service_files_Realpath
		service_data_Decode
			service_data_GetTypes
	service_sessions_GetWindowId
	service_misc_StringToBytes
	service_misc_StringToBytes
	service_misc_StringToBytes
	service_config_Read
		service_processes_Get
			service_sessions_GetSystem
				service_files_Realpath
				service_arrays_GetRecursive
		service_config_ReadPackage
			service_files_Basename
				service_files_Realpath
			service_files_Basename
				service_files_Realpath
			service_users_GetCurrent
				service_sessions_GetSystem
					service_files_Realpath
					service_arrays_GetRecursive
			service_misc_ReplaceTokens
			service_data_ReadFile
				service_data_GetTypes
				service_files_Realpath
				service_files_ReadFile
					service_files_Realpath
					service_files_GetFilesystem
					service_files_CheckPermissions
	service_themes_GetStylesUrl
		service_themes_Get
			service_themes_Exists
				service_packages_GetInformation
					service_files_Basename
						service_files_Realpath
			service_config_ReadPackage
				service_files_Basename
					service_files_Realpath
				service_files_Basename
					service_files_Realpath
				service_users_GetCurrent
					service_sessions_GetSystem
						service_files_Realpath
						service_arrays_GetRecursive
				service_misc_ReplaceTokens
				service_data_ReadFile
					service_data_GetTypes
					service_files_Realpath
			service_themes_Exists
				service_packages_GetInformation
					service_files_Basename
						service_files_Realpath
			service_config_ReadSystem
				service_files_Basename
					service_files_Realpath
				service_data_Decode
					service_data_GetTypes
		service_extern_GetUrl
			service_sessions_GetWindowId
			service_themes_Exists
				service_packages_GetInformation
					service_files_Basename
						service_files_Realpath
					service_data_ReadFile
						service_data_GetTypes
						service_files_Realpath
			service_themes_Get
				service_themes_Exists
					service_packages_GetInformation
						service_files_Basename
							service_files_Realpath
				service_config_ReadPackage
					service_files_Basename
						service_files_Realpath
					service_files_Basename
						service_files_Realpath
					service_users_GetCurrent
						service_sessions_GetSystem
							service_files_Realpath
							service_arrays_GetRecursive
					service_misc_ReplaceTokens
					service_data_ReadFile
						service_data_GetTypes
						service_files_Realpath
				service_themes_Exists
					service_packages_GetInformation
						service_files_Basename
							service_files_Realpath
				service_config_ReadSystem
					service_files_Basename
						service_files_Realpath
					service_data_Decode
						service_data_GetTypes
			service_files_Realpath
	service_data_Encode
		service_data_GetTypes
	service_extern_GetUrl
		service_sessions_GetWindowId
		service_files_Realpath
	service_data_Encode
		service_data_GetTypes
	service_extern_GetUrl
		service_sessions_GetWindowId
		service_files_Realpath
		service_files_Realpath
		service_files_Realpath
		service_files_Realpath
		service_files_Realpath
		service_files_Realpath
		service_files_Realpath
		service_files_Realpath
		service_files_Realpath
		service_files_Realpath
		service_files_Realpath
		service_files_Realpath
	service_langs_Get
		service_sessions_GetSystem
			service_files_Realpath
			service_arrays_GetRecursive
	service_data_Encode
		service_data_GetTypes
	service_themes_GetScriptsUrl
		service_themes_Get
			service_themes_Exists
				service_packages_GetInformation
					service_files_Basename
						service_files_Realpath
			service_config_ReadPackage
				service_files_Basename
					service_files_Realpath
				service_files_Basename
					service_files_Realpath
				service_users_GetCurrent
					service_sessions_GetSystem
						service_files_Realpath
						service_arrays_GetRecursive
				service_misc_ReplaceTokens
				service_data_ReadFile
					service_data_GetTypes
					service_files_Realpath
			service_themes_Exists
				service_packages_GetInformation
					service_files_Basename
						service_files_Realpath
			service_config_ReadSystem
				service_files_Basename
					service_files_Realpath
				service_data_Decode
					service_data_GetTypes
		service_extern_GetUrl
			service_sessions_GetWindowId
			service_themes_Exists
				service_packages_GetInformation
					service_files_Basename
						service_files_Realpath
					service_data_ReadFile
						service_data_GetTypes
						service_files_Realpath
			service_themes_Get
				service_themes_Exists
					service_packages_GetInformation
						service_files_Basename
							service_files_Realpath
				service_config_ReadPackage
					service_files_Basename
						service_files_Realpath
					service_files_Basename
						service_files_Realpath
					service_users_GetCurrent
						service_sessions_GetSystem
							service_files_Realpath
							service_arrays_GetRecursive
					service_misc_ReplaceTokens
					service_data_ReadFile
						service_data_GetTypes
						service_files_Realpath
				service_themes_Exists
					service_packages_GetInformation
						service_files_Basename
							service_files_Realpath
				service_config_ReadSystem
					service_files_Basename
						service_files_Realpath
					service_data_Decode
						service_data_GetTypes
			service_files_Realpath
	service_data_Encode
		service_data_GetTypes
	service_langs_TranslateHtml
		service_langs_Translate
			service_processes_Get
				service_sessions_GetSystem
					service_files_Realpath
					service_arrays_GetRecursive
			service_sessions_GetSystem
				service_files_Realpath
				service_arrays_GetRecursive
			service_files_GetType
				service_files_Realpath
				service_files_GetFilesystem
				service_files_CheckPermissions
			service_data_ReadFile
				service_data_GetTypes
				service_files_Realpath
				service_files_ReadFile
					service_files_Realpath
					service_files_GetFilesystem
					service_files_CheckPermissions
			service_misc_ReplaceTokens
		service_data_Encode
			service_data_GetTypes
			service_misc_ReplaceTokens
			service_utf8_chr
			service_utf8_chr
		service_misc_ReplaceTokens
	service_users_JavascriptCryptPassword
	service_data_Encode
		service_data_GetTypes
	service_data_Encode
		service_data_GetTypes
	service_data_Encode
		service_data_GetTypes
	service_langs_Get
		service_sessions_GetSystem
			service_files_Realpath
			service_arrays_GetRecursive
	service_data_Encode
		service_data_GetTypes
	service_responses_Get
		service_data_Encode
			service_data_GetTypes
		service_config_ReadSystem
			service_files_Basename
				service_files_Realpath
			service_data_Decode
				service_data_GetTypes
	service_data_Encode
		service_data_GetTypes
	service_langs_TranslateHtml
		service_langs_Translate
			service_processes_Get
				service_sessions_GetSystem
					service_files_Realpath
					service_arrays_GetRecursive
			service_sessions_GetSystem
				service_files_Realpath
				service_arrays_GetRecursive
			service_files_GetType
				service_files_Realpath
				service_files_GetFilesystem
				service_files_CheckPermissions
			service_data_ReadFile
				service_data_GetTypes
				service_files_Realpath
			service_misc_ReplaceTokens
		service_data_Encode
			service_data_GetTypes
			service_utf8_chr
			service_utf8_chr
		service_misc_ReplaceTokens
	service_langs_TranslateHtml
		service_langs_Translate
			service_processes_Get
				service_sessions_GetSystem
					service_files_Realpath
					service_arrays_GetRecursive
			service_sessions_GetSystem
				service_files_Realpath
				service_arrays_GetRecursive
			service_files_GetType
				service_files_Realpath
				service_files_GetFilesystem
				service_files_CheckPermissions
			service_data_ReadFile
				service_data_GetTypes
				service_files_Realpath
			service_misc_ReplaceTokens
		service_data_Encode
			service_data_GetTypes
			service_utf8_chr
			service_utf8_chr
		service_misc_ReplaceTokens
	service_extern_ProvideContent
		service_extern_Provide
			service_extern_ContentType
				service_config_ReadSystem
					service_files_Basename
						service_files_Realpath
					service_data_Decode
						service_data_GetTypes
		service_kernel_Exit

Statistics
==========
Quantity :     424 x
Kernel   :   11371 ms (19.17 %)
Services :   47931 ms (80.83 %)
Total    :   59302 ms

By average microtime
====================
service_data_Encode                        719 ms (   13 x)
service_files_ReadFile                     535 ms (    3 x)
service_extern_GetUrl                      505 ms (    4 x)
service_themes_Get                         401 ms (    4 x)
service_config_ReadSystem                  399 ms (   10 x)
service_utf8_chr                           364 ms (    6 x)
service_files_ReadFolderContent            361 ms (    1 x)
service_langs_Translate                    333 ms (    3 x)
service_config_ReadPackage                 317 ms (    5 x)
service_files_GetType                      243 ms (    7 x)
service_langs_TranslateHtml                226 ms (    3 x)
service_sessions_Set                       210 ms (    1 x)
service_themes_GetStylesUrl                199 ms (    1 x)
service_langs_Set                          198 ms (    1 x)
service_themes_GetScriptsUrl               198 ms (    1 x)
service_sessions_GetSystem                 171 ms (   23 x)
service_sessions_SetSystem                 168 ms (    6 x)
service_data_ReadFile                      164 ms (   11 x)
service_langs_BrowserCheck                 160 ms (    1 x)
service_responses_Get                      152 ms (    1 x)
service_config_Read                        150 ms (    1 x)
service_kernel_SetPrivilege                109 ms (    3 x)
service_data_Decode                        106 ms (   10 x)
service_langs_Get                          103 ms (    2 x)
service_packages_GetInformation            102 ms (   11 x)
service_extern_Provide                     100 ms (    1 x)
service_extern_ContentType                  92 ms (    1 x)
service_processes_Get                       90 ms (    5 x)
service_sessions_GetWindowId                86 ms (    6 x)
service_users_CheckUsername                 84 ms (    1 x)
service_processes_GetAll                    79 ms (    1 x)
service_themes_Exists                       79 ms (   10 x)
service_users_Exists                        78 ms (    1 x)
service_files_Basename                      77 ms (   32 x)
service_users_GetCurrent                    75 ms (    6 x)
service_arrays_SetRecursive                 69 ms (   24 x)
service_misc_GetRandomString                52 ms (    1 x)
service_users_JavascriptCryptPassword       28 ms (    1 x)
service_files_Realpath                      25 ms (   99 x)
service_misc_ReplaceTokens                  23 ms (   13 x)
service_responses_AddKernel                 21 ms (    1 x)
service_arrays_GetRecursive                 21 ms (   23 x)
service_misc_StringToBytes                  20 ms (    3 x)
service_data_GetTypes                       19 ms (   34 x)
service_kernel_IsPrivilege                  19 ms (    3 x)
service_files_GetFilesystem                 18 ms (   11 x)
service_files_CheckPermissions              18 ms (   11 x)
service_kernel_GetPrivilege                 17 ms (    4 x)

By total microtime
==================
service_data_Encode                       9343 ms (19.49 %)
service_config_ReadSystem                 3990 ms ( 8.32 %)
service_sessions_GetSystem                3923 ms ( 8.18 %)
service_files_Basename                    2455 ms ( 5.12 %)
service_files_Realpath                    2382 ms ( 4.97 %)
service_utf8_chr                          2184 ms ( 4.55 %)
service_extern_GetUrl                     2018 ms ( 4.21 %)
service_data_ReadFile                     1800 ms ( 3.75 %)
service_files_GetType                     1701 ms ( 3.55 %)
service_arrays_SetRecursive               1650 ms ( 3.44 %)
service_files_ReadFile                    1605 ms ( 3.35 %)
service_themes_Get                        1601 ms ( 3.34 %)
service_config_ReadPackage                1583 ms ( 3.30 %)
service_packages_GetInformation           1114 ms ( 2.32 %)
service_data_Decode                       1058 ms ( 2.21 %)
service_sessions_SetSystem                1008 ms ( 2.10 %)
service_langs_Translate                    999 ms ( 2.08 %)
service_themes_Exists                      782 ms ( 1.63 %)
service_langs_TranslateHtml                678 ms ( 1.41 %)
service_data_GetTypes                      644 ms ( 1.34 %)
service_sessions_GetWindowId               515 ms ( 1.07 %)
service_arrays_GetRecursive                474 ms ( 0.99 %)
service_users_GetCurrent                   450 ms ( 0.94 %)
service_processes_Get                      448 ms ( 0.93 %)
service_files_ReadFolderContent            361 ms ( 0.75 %)
service_kernel_SetPrivilege                327 ms ( 0.68 %)
service_misc_ReplaceTokens                 295 ms ( 0.61 %)
service_sessions_Set                       210 ms ( 0.44 %)
service_langs_Get                          206 ms ( 0.43 %)
service_themes_GetStylesUrl                199 ms ( 0.41 %)
service_langs_Set                          198 ms ( 0.41 %)
service_themes_GetScriptsUrl               198 ms ( 0.41 %)
service_files_GetFilesystem                190 ms ( 0.39 %)
service_files_CheckPermissions             189 ms ( 0.39 %)
service_langs_BrowserCheck                 160 ms ( 0.33 %)
service_responses_Get                      152 ms ( 0.32 %)
service_config_Read                        150 ms ( 0.31 %)
service_extern_Provide                     100 ms ( 0.21 %)
service_extern_ContentType                  92 ms ( 0.19 %)
service_users_CheckUsername                 84 ms ( 0.18 %)
service_processes_GetAll                    79 ms ( 0.16 %)
service_users_Exists                        78 ms ( 0.16 %)
service_kernel_GetPrivilege                 68 ms ( 0.14 %)
service_misc_StringToBytes                  58 ms ( 0.12 %)
service_kernel_IsPrivilege                  55 ms ( 0.11 %)
service_misc_GetRandomString                52 ms ( 0.11 %)
service_users_JavascriptCryptPassword       28 ms ( 0.06 %)
service_responses_AddKernel                 21 ms ( 0.04 %)

By quantity
===========
service_files_Realpath                      99 x  (23.35 %)
service_data_GetTypes                       34 x  ( 8.02 %)
service_files_Basename                      32 x  ( 7.55 %)
service_arrays_SetRecursive                 24 x  ( 5.66 %)
service_sessions_GetSystem                  23 x  ( 5.42 %)
service_arrays_GetRecursive                 23 x  ( 5.42 %)
service_data_Encode                         13 x  ( 3.07 %)
service_misc_ReplaceTokens                  13 x  ( 3.07 %)
service_files_CheckPermissions              11 x  ( 2.59 %)
service_data_ReadFile                       11 x  ( 2.59 %)
service_packages_GetInformation             11 x  ( 2.59 %)
service_files_GetFilesystem                 11 x  ( 2.59 %)
service_data_Decode                         10 x  ( 2.36 %)
service_config_ReadSystem                   10 x  ( 2.36 %)
service_themes_Exists                       10 x  ( 2.36 %)
service_files_GetType                        7 x  ( 1.65 %)
service_utf8_chr                             6 x  ( 1.42 %)
service_sessions_SetSystem                   6 x  ( 1.42 %)
service_sessions_GetWindowId                 6 x  ( 1.42 %)
service_users_GetCurrent                     6 x  ( 1.42 %)
service_processes_Get                        5 x  ( 1.18 %)
service_config_ReadPackage                   5 x  ( 1.18 %)
service_kernel_GetPrivilege                  4 x  ( 0.94 %)
service_extern_GetUrl                        4 x  ( 0.94 %)
service_themes_Get                           4 x  ( 0.94 %)
service_langs_Translate                      3 x  ( 0.71 %)
service_kernel_IsPrivilege                   3 x  ( 0.71 %)
service_kernel_SetPrivilege                  3 x  ( 0.71 %)
service_langs_TranslateHtml                  3 x  ( 0.71 %)
service_files_ReadFile                       3 x  ( 0.71 %)
service_misc_StringToBytes                   3 x  ( 0.71 %)
service_langs_Get                            2 x  ( 0.47 %)
service_users_Exists                         1 x  ( 0.24 %)
service_processes_GetAll                     1 x  ( 0.24 %)
service_misc_GetRandomString                 1 x  ( 0.24 %)
service_responses_AddKernel                  1 x  ( 0.24 %)
service_users_JavascriptCryptPassword        1 x  ( 0.24 %)
service_users_CheckUsername                  1 x  ( 0.24 %)
service_langs_BrowserCheck                   1 x  ( 0.24 %)
service_themes_GetStylesUrl                  1 x  ( 0.24 %)
service_sessions_Set                         1 x  ( 0.24 %)
service_files_ReadFolderContent              1 x  ( 0.24 %)
service_langs_Set                            1 x  ( 0.24 %)
service_themes_GetScriptsUrl                 1 x  ( 0.24 %)
service_extern_Provide                       1 x  ( 0.24 %)
service_config_Read                          1 x  ( 0.24 %)
service_responses_Get                        1 x  ( 0.24 %)
service_extern_ContentType                   1 x  ( 0.24 %)

Best regards,
Lars Knickrehm

The oneye project.

Offline

#3 2012-03-20 19:22:58

Sable
Member
From: France
Registered: 2012-02-20
Posts: 87

Re: New log service

Hi Lars,

not sure to really understand the purpose of this new log service but I'll try to test it next days and give a feedback here (if I can). wink

Offline

#4 2012-03-21 00:56:41

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: New log service

Hi Sable,

there are different things this could be used for...

  • "With what function call does my corrupted code stop before it stops execution?" This could be an endless loop, a fatal error or any other problem aborting the execution.

  • In case some parts of the system are quite slow, we could use this log service to improve speed by watching at the time statistics.

  • Maybe we load or execute parts of the system, that does not really need to be executed and could save us some time and result in a nice speeding up?!

  • ...


Best regards,
Lars Knickrehm

The oneye project.

Offline

#5 2012-03-21 20:04:16

Sable
Member
From: France
Registered: 2012-02-20
Posts: 87

Re: New log service

OK! Thanks for these explanations, Lars!

So, I can now confirm I'm not competent to test that sad

Offline

#6 2013-01-29 22:21:32

justlostintime
Member
Registered: 2013-01-29
Posts: 2

Re: New log service

How do we turn this on?

Offline

#7 2013-02-02 03:30:15

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: New log service

Just enable "ONEYE_LOG" in "oneye_xxxxxxxxxx/system/conf/system.xml" by setting it to "1". Finally you should see a lot files in "LOG_DIR". Hope, this helped?!


Best regards,
Lars Knickrehm

The oneye project.

Offline

Board footer

Powered by FluxBB