This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
niota-docs:niota_grid_config_logging [2022/01/05 10:47] admin |
niota-docs:niota_grid_config_logging [2025/07/17 14:11] (current) |
||
|---|---|---|---|
| Line 22: | Line 22: | ||
| === Callable object for logging === | === Callable object for logging === | ||
| Choose a valid callable object (stored procedure) that handles the logging finally. This can be a delivered system log procedure or your own procedure in case you do not want to log to N-MDDB. | Choose a valid callable object (stored procedure) that handles the logging finally. This can be a delivered system log procedure or your own procedure in case you do not want to log to N-MDDB. | ||
| + | |||
| + | |||
| + | === Logging of callable objects === | ||
| + | When logging a callable object call the logging connection is set according to the followings: | ||
| + | * When a callable object is bound to a catalog instance and called from the grid-custom-menu then the log-connection of the catalog instance is used. | ||
| + | * When a callable object is called from the transaction menu then the log-connection of the callable object connection is used. | ||
| + | * If a callable object content is placed in a file (web service or batch sql call) then only the file name is logged in the case of a successful call. | ||
| + | * If a callable object content is placed in a file (web service or batch sql call) and the call is unsuccessful then the final command / web service call is logged in the error log files. | ||
| + | |||
| + | === System log files === | ||
| + | There are log files which are not configurable. Those are created automatically during the running of the program. | ||
| + | * debug.log => Stores debug info. Can be activated by using debug feature. | ||
| + | * error.log => Stores error messages generated during the running of the server side conde - PHP error messages. | ||
| + | * error_sql.log => Stores sql statements which could not be executed. Also stores the database server response. | ||
| + | * error_ws.log => Stores xml contents which could not be executed. Also stores the server response. | ||
| + | |||
| ---- | ---- | ||
| {{:niota-docs:m_01_020_logging_01.png?nolink|}} | {{:niota-docs:m_01_020_logging_01.png?nolink|}} | ||
| ---- | ---- | ||
| + | |||