This repository has been archived on 2024-04-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
elektron/docs/Logs.md
2018-10-05 13:19:42 -04:00

1.6 KiB

Logging

Elektron logs can be categorized into the following.

  • Console Logs - These are logs written to the console. These include logs related to the Mesos resource offers, offer matching, declining offers and task status updates. They are of the following types.
    • ERROR
    • WARNING
    • SUCCESS
    • GENERAL
  • Schedule Trace Logs (SCHED_TRACE) - Once each task has fit into a resource offer, the taskID and the corresponding hostname are logged.
  • PCP - For every second, data related to load, resource utilization, power consumption etc., is logged. The metrics to be logged need to be specified in the PCP config file.
  • Scheduling Policy Switching Logs - When scheduling policy switching is enabled (-switchSchedPol is used when launching Elektron), the following information is logged.
    • Scheduling Policy Switch trace (SPS) - Every time Elektron switches to a different scheduling policy, the name of the scheduling policy and the corresponding time stamp is logged.
    • SCHED_WINDOW - For every switch, the size of the scheduling window and the name of the scheduling policy is logged.
    • CLSFN_TASKDIST_OVERHEAD - If the switching criteria is task distribution based, then the time taken to classify the tasks into low power consuming and high power consuming, and then to determine the task distribution is logged.