Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | logPrint(logLevel, message) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Prints a message in the configured Jira logs on the specified level: TRACE, DEBUG, INFO, WARN, ERROR, FATAL. |
Prints a message in the configured Jira logs on the specified level: TRACE, DEBUG, INFO, WARN, ERROR, FATAL. Logging the messages above is subject to the same configurations of the app as described here.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
logLevel | String | Yes | Minimum level for logging the message is written for. | message | String | Yes | Argument converted to a string that will be printed. |
|
Return Type
None
Example
Code Block |
---|
|
logPrint("DEBUG", "A debug Message."); |
...
Note |
---|
To configure the Jira Logging level do this in two ways: Temporarily - the logging level will be reset after Jira reboot: Log in Jira using an administrator account. Go to Administration . Go to System tab and select the Troubleshooting and Support option. Select the Logging & Profiling tab. Find the Default Loggers paragraph with package names and their Logging level . Search in this list for the line com.keplerrominfo . And select from the Set Logging Level your desired level.
Permanently - the logging level will NOT be reset after Jira reboot, described here: Configure Jira logging. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "basic_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|