Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Info
titleAvailability

This routine is available since katl-commons starting with SIL Engine™ 2.5.

Syntax

...

logPrint(logLevel, #{message})

Description

...

Excerpt

This routine is used to print Prints a message in the configured JIRA Jira logs on the specified level: TRACE, DEBUG, INFO, WARN, ERROR, FATAL.

Logging the messages above messages is subject to the same configurations of the plugin app as described here.

Parameters

...

Parameter name

Required

Description

logLevel

Yes

The minimum

Minimum level for logging

for which

the message is written for.

messageYes
The argument
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

...

:

...

  1. Log

...

  1. in Jira using an administrator account.

...

  1. Go to

...

  1. Administration

...

  1. .

...

  1. Go to

...

  1. System

...

  1.  tab and select the

...

  1. Troubleshooting and Support

...

  1.  option.

...

  1. Select the

...

  1. Logging & Profiling

...

  1.  tab.

...

  1. Find the Default Loggers

...

  1. paragraph with

...

  1. package names and their Logginglevel.

...

  1. Search in this list for the line

...

  1. com.keplerrominfo

...

  1. . And select from the

...

  1. Set Logging Level

...

  1.  your desired level.

Image RemovedImage Added

...

Permanently -

...

the logging level will NOT be reset after

...

Jira reboot

...

, described here:

...

 

Example

 Configure Jira logging.


Example


Code Block
logPrint("DEBUG", "A debug Message.");

If the configuration level is one

...

of TRACE or DEBUG then the message will be printed out.

Image Modified

Otherwise

...

if the configuration level

...

is INFO, WARN, ERROR or FATAL the

...

message will not be displayed.

For other usages you can consult the priority level list above.

See also

...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "basic_routines"
labelsbasic_routines