Monitoring, Logging & Profiling #86297/v3410 |
Monitoring, Logging & ProfilingTable of Contents
iSQL: Built-in Interactive SQL ConsoleThe interactive SQL console enables users to query the database, besides exporting the results in a variety of formats. The iSQL console is available by default, however System Administrators can limit the console's accessiblity by configuring the appropriate envirionment variable. For more information, see: Figure: Example Interactive SQL Query and Results
iSQL: Test PerformanceTo test the performance of your database you can use the [Test Performance] button, the Number of runs the test makes can be modified. Figure: Example Test Performance and Results
Configuring System LoggingCodebeamer uses Apache Log4j Codebeamer administrators can now change these log4j settings without restarting their codebeamer server. This is done by the Change Logging Configuration page accessible from the System Admin menu. Figure: Change Logging Configuration
Usage: To change some classes/packages log4j settings, paste the new log settings in the Logging changes textbox, using the same syntax as found in the installdir/tomcat/common/classes/log4j.properties file. Do not modify the log4j.properties file, instead change logging levels only through this System Admin ► Change Logging Configuration menu. For example the: log4j.logger.com.intland.codebeamer.controller.admin.LoggingConfiguratorController=INFO This configuration parameter will change the LoggingConfigurationController's logger to INFO level. Multiple log4j settings can be changed at once; just put them in multiple lines similar to the log4j.properties file.
Important notes:
Rollover: Rollover archives the log files, and creates new ones to continue logging, see more here Configuring Groove Script LoggingCodebeamer uses Apache Log4j 2020-05-07 06:24.21,021 INFO event.impl.CustomScriptExecutor - responsible user found BOUJMIG [WorkflowActionManager-79] [2424] {} 2020-05-07 06:24.21,022 INFO event.impl.CustomScriptExecutor - end of of custom action <starc_cust_act_map_System_resp.groovy> [WorkflowActionManager-79] [2424] {}
log4j.logger.com.intland.codebeamer.event.impl.CustomScriptExecutor=DEBUG
Reproduce the issue and capture the necessary logs. Once all done don't forget to reset Custom Script Logging level back to INFO by entering: log4j.logger.com.intland.codebeamer.event.impl.CustomScriptExecutor=INFO Monitoring Server Resources: Memory Usage, Thread Count and Database ConnectionsFrom codeBeamer 9.3, a You must login to see this link. Register now, if you have no user account yet. application is available for monitoring codebeamer server resources. Warning emails about low available disk spaceCodebeamer has a built in functionality that periodically checks the free disk space where the codebeamer instance is running, and if the disk space goes "low" then it sends an email to System Administrators. The goal is to avoid running out of disk space, due that it can cause serious problems and data loss. Low disk periodic check works as follows:
"interactive" : { "warnLowDiskSpace" : { "emailTo" : "administrator@example.com", "enabled" : true, "minFreeDisk" : 90000, "minPercentage" : 50, "emailFrequency" : } }, "diskSpaceVolumes" : { "name" : "linux", "path" : "/dev/nvme0n1p6", "threshold" : 90000 }, The attributes of the warnLowDiskSpace section are:
diskSpaceVolumes (CB 10.0)Multiple disk volumes can be monitored with this property. It has to be used with warnLowDiskSpace together.
The attributes of the diskSpaceVolumes section are:
Example for Windows:"diskSpaceVolumes" : [ { "name" : "diskC", "path" : "C:\\", "threshold" : 10240 }, { "name" : "diskE", "path" : "E:\\", "threshold" : 20480 }, { "name" : "diskF", "path" : "F:\\" } ], Example for Linux:"diskSpaceVolumes" : [ { "name" : "disk1", "path" : "/dev/sda1", "threshold" : 10240 }, { "name" : "disk2", "path" : "/dev/sda2", "threshold" : 20480 }, { "name" : "disk3", "path" : "/dev/sda3" } ], |
Fast Links
![]() codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, and help us understand your interests and provide more personalized services to you, both on this website and through other media. With your permission, we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. Your preferences will apply to this website only.
Note that user-behavior analytics are being captured on this server to improve the Codebeamer user experience.