FineOps Version
Functional Change
-
Split and optimized the log management function of FineOps
Optimized the interaction by adjusting the function entry location
Supported the generation of dump files even if a project is unavailable.
1) If a project exits abnormally, you can use the dump log for troubleshooting. Reasons may include stack overflows, memory leaks, code errors, and so on.
2) If a memory leak occurs in a project, the dump log can help developers locate the source and fix the problem.
3) If a project experiences lagging or deadlock, the dump log can provide thread information related to the lagging or deadlock, as well as the causes of the problem.
4) If an error occurs in a running project, the dump log can provide detailed error information, such as the code line where the error occurred, the variable values, and so on.
FineOps provides the Dump File function, which supports automatic/manual quick generation of dump files in case of a crash.
Procedure:
1) Log in to FineOps as the admin, click Project Management, and click the O&M project for which logs need to be generated. Choose Log > Dump File.
2) Select a node. No node is selected by default. You can only select one node at a time.
3) Click Generate to trigger the creation of a dump file for the project node in this O&M project.
4) Check the generated file in the following paths.
For FineOps-deployed projects: The dump file is stored in the mounting directory fanruanxxx/fr/logs/tomcat_logs/date folder of this node
For non-FineOps deployed projects: The dump file is stored in the %Tomcat%/logs/tomcat_logs/date path of the server where the node is located.
Notes:
The dump file can only be generated once every 20 minutes to prevent poor system performance caused by frequent triggering.
1)Click an O&M Project.
Log in to FineOps as the admin, click Project Management, and click the O&M project that needs automatic log generation.
2)Enable Auto Crash Handling.
Choose Crash > Crash Handling Strategy, enable Auto Crash Handling, and click Save.
3)Configure the content to be generated
Choose Log > Dump File, and enable Auto Crash Handling.
3)Trigger Automatic Generation.
After the project is automatically restarted in case of a crash, the dump file of the problematic node in this O&M project will be automatically generated.
Location of the generated file:
For FineOps-deployed projects: The dump file is stored in the mounting directory fanruanxxx/fr/logs/tomcat_logs/date folder of this node.