Logs management |
SuperMap iPortal's logs include system logs and operational logs. Log in to the SuperMap iPortal as an administrator and click Management > Logs, you can view the logs recorded by SuperMap iPortal during the running period.
The system log information is divided into six levels: off, error, warning, information, debug, all. For specific log level description, see: Table 1 System Log Level Types.
Table 1 System log level types
level | Description |
Shut down |
Logging is turned off. Events are not logged with iPortal. |
ERROR |
Only include error messages. |
WARN |
Warning information. This level also contains error messages. |
INFO |
The business logic information during the operation of the server. This level also contains error and warning messagse. |
DEBUG |
The implementation of the code during the operation of the server. This level also contains error, warning and info messages. |
ALL |
Include all messages. |
The Log / System Logs tab lists the system logs of the current server, including log level, abstract, and logging time. You can filter the logs you desired using the Level, or searching the keyword of abstract, or searching the specific time. In somecases maybe you need to adjust the log level to see more details for troubleshooting a problem, see: System log configuration.
The operation log records the resources-related operations performed by normal users and the management-related operations performed by administrators.
Operation log has only one level: information. For specific log level description, see: Table 2 Operation Log Level Description.
Table 2 Operational Log Level Description
level | Description |
INFO |
The business logic information during the operation of the server, for example: the message of map created successfully. |
The Log / Operation Logs tab lists the operation logs of the current server, including log level, abstract, and logging time. You can filter the logs you desired using the keyword of abstract, or searching the specific time.
The log configuration page contains the system log and operation log configuration. The specific configuration is as follows:
Log in to SuperMap iPortal as an administrator, click Management > Logs > Log Configuration to configure iPortal system logs. Table 3. System log configuration parameters describe all the specific parameters for configuring. After configuration, click Save to save your configurations.
Table 3 System log configuration parameter description
Parameter | Description |
File path |
The full path or relative path (relative to the bin directory) of the log file, note that the file name is included. System log locates at ../logs/iportal.log by default, ie., % SuperMap iPortal_HOME%/ logs/iportal.log. |
Max file size |
File size limit. The default value is 2MB. When it is greater than this value, the server will backup the log file then clear the log file. For example, the backup files of iportal.log will be like iportal.log.1, iportal.log.2, ... |
Console log level |
Console output log level. For specific level descriptions, see Table 1 System Log Level Types. |
File log level |
For specific level descriptions, see Table 1_ System Log Level Types. |
Log in to SuperMap iPortal as an administrator, click Management > Logs > Log Configuration to configure iPortal operation logs. Table 4. Operation Log Parameter Configuration describe all the specific parameters for configuring. After configuration, click Save to save your configurations.
Table 4 Description of the operation log configuration parameters
Parameter | Description |
File path |
The full path or relative path (relative to the bin directory) of the log file, note that the file name is included. System log locates at ../logs/iportalOperation.log by default, ie., % SuperMap iPortal_HOME%/ logs/iportalOperation.log. |
Max file size |
File size limit. The default value is 2MB. When it is greater than this value, the server will backup the log file then clear the log file. For example, the backup files of iportalOperation.log will be like iportalOperation.log.1, iportalOperation.log.2, ... |
File log level |
Here only displays one level: INFO. For specific level description, see Table 2_ Operation Log Level Description. |