Configuring log files
When you run into issues to trace the log files or the log files end abruptly without the
complete information about the action, you must configure settings for the log file in the
configMap
file.
Before you begin
- You must have installed HCL OneTest™ Server.
- You must have access to the Secure Shell (SSH) console.
About this task
To troubleshoot the issue, you can configure the following settings:
- The maximum number of log files.
- The maximum file size of each log file.
Note: The default value of the maximum number of log files is 5 and the maximum file size of each
log file is 10 MB.
Procedure
-
Open the HCL®
OneTest™ Data
configMap
file to edit by using the following command:kubectl edit configmap -n {namespace} {my-ots}-data-config -o yaml
.Note: You can use the following command to get the list of theconfigMap
files:kubectl get configmaps
- Modify the values of the following parameters that you want to change: log_file_size and max_no_of_log_files
- Save the changes.
-
Restart the
onetestdata
pod by using the following command:kubectl delete pod {my-ots}-data-app-0
.