Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

1.1.4 Reading The GREASE Log

James.E.Bell edited this page Sep 21, 2017 · 1 revision

Reading the GREASE Log

If you are logging to the FileSystem and developing/supporting GREASE, this is the source for how to read the log file

Logging levels:

  • DEBUG::VERBOSE: The most granualar level of logging in GREASE. Verbose is useful for putting development messages in (in development verbose mode is enabled by default).
  • DEBUG: General information of the operations of GREASE. If an admin were to disable logging of debug messages, we should be able to assume the engine is running in optimal condition if there is nothing logged
  • INFO: Used in GREASE when changes occur, for instance a ticket is closed or a piece of infrastructure has been manipulated
  • WARNING: Used for messages that do not denote failure simply that something is possibly in an unsafe state
  • ERROR: The main log message to use when API endpoints don't respond or actual errors occur in scripts
  • CRITICAL: Used when GREASE Systems administrators need to immediately address the issue raised when this is logged
  • EXCEPTION: THIS WILL THROW AND EXCEPTION AND KILL THE PROCESS YOU ARE RUNNING This unused feature of GREASE is implemented in the event that an exception needs to be thrown by your process