...
Info | ||
---|---|---|
| ||
This routine is available since starting with katl-commons 2.5. |
Syntax
...
logPrint(logLevel, #{message})
Description
...
Excerpt |
---|
This routine is used to print a message in the configured JIRA Jira logs on the specified level: TRACE, DEBUG, INFO, WARN, ERROR, FATAL. |
Logging the above messages is subject to the same configurations of the plugin app as described here.
Parameters
...
Parameter name | Required | Description |
---|---|---|
logLevel | Yes | The minimum level for logging for which the message is written. |
message | Yes | The argument converted to a string that will be printed. |
Return type
...
None
Configuration
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.
...
- Here you'll find a paragraph named
...
- Default
...
- Loggers with a lot of package names and their Logginglevel.
...
- 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.
Example
Code Block |
---|
logPrint("DEBUG", "A debug Message."); |
...
For other usages you can consult the priority level list above.
See also
...
Filter by label (Content by label) | ||||
---|---|---|---|---|
|
...