Information on Jira Dater Center TRACE Logging

Nathaniel Simpson
Contributor
August 15, 2021

As Part of the ACP-100 Preparation Materials, it mentions that you need to know information surrounding logging . (See Below)

My question is specifically around TRACE logging, I cannot see it defined in any of the predefined logging levels. And no information about it.

What is TRACE logging? How do you activate it? What are the use cases for it i.e. would you use it for an organizational app that is not working properly?

 

(From ACP-100 Prep) Logging and profiling

  • set logging for packages

  • Levels include Trace, Debug, Info, Warn, Error, Fatal, Off

 

The logging information for the other levels I have been able to find below

  • DEBUG - designates fine-grained informational events that are most useful to debug an application (what is going on)
  • INFO - announcements about the normal operation of the system - scheduled jobs running, services starting and stopping, user-triggered processes and actions
  • WARN - any condition that, while not an error in itself, may indicate that the system is running sub-optimally
  • ERROR - a condition that indicates something has gone wrong with the system
  • FATAL - a condition that indicates something has gone wrong so badly that the system can not recover
  • TRACE - ??????????????????

 

Thank you for your help, to further improve my understanding.

2 answers

1 accepted

1 vote
Answer accepted
Nir Haimov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 15, 2021

Hi @Nathaniel Simpson 

Basically Atlassian not mentioning this log level in their docs:
https://confluence.atlassian.com/adminjiraserver/logging-and-profiling-938847671.html

However, they do mention that: Jira uses a powerful logging module called log4j for runtime logging. 

you can also read this answer:
https://softwareengineering.stackexchange.com/questions/279690/why-does-the-trace-level-exist-and-when-should-i-use-it-rather-than-debug

Nathaniel Simpson
Contributor
August 15, 2021

Yes, there was confusion for me as I could not find it in the official documentation.

 

Thank you for the other link and speedy reply :)

0 votes
Nathaniel Simpson
Contributor
August 15, 2021

Based on this screenshot about log4j I presume DEBUG is the best logging option to debug an application (vs TRACE) ...

 

Screen Shot 2021-08-16 at 4.05.02 pm.png

Suggest an answer

Log in or Sign up to answer