Commit graph

19 commits

Author SHA1 Message Date
Bhargavi Hanumant Alandikar
3543960689 Elektron Logging library (#16)
switch to logrus for logging.

replaced old logging library with a wrapper around logrus.
We now just need to use the exported Log(...) and Logf(...) from the logging/
package that wraps around a set of loggers constituting a chain (following COR).
Loggers are configured using a YAML file that specifies the following.
1. enabled/disabled
2. whether the message should be logged on console.
3. filename extension.
4. minimum log level.

Retrofitted source code to now use the updated logging library.
Updated the documentation with information regarding the specification
of the log config file.

Currently, the log format in the config file is not adhered to. This is going to be
addressed in a future commit.
2019-12-09 20:15:33 -05:00
Pradyumna Kaushik
6549f8c13c Escape underscore. Changed 'scheduling' to 'sched' in format. 2018-10-05 23:06:04 -04:00
Pradyumna Kaushik
f3a1501e6e Description for task classification overhead logs. 2018-10-05 23:05:01 -04:00
Pradyumna Kaushik
f5b2ba789c Description for scheduling window logs. 2018-10-05 23:04:44 -04:00
Pradyumna Kaushik
9a4470fd16 Description for scheduling policy switch trace. 2018-10-05 22:49:23 -04:00
Pradyumna Kaushik
598acf75f2 Description for scheduled trace log. 2018-10-05 22:41:39 -04:00
Pradyumna Kaushik
1902d1a3e8 Describing PCP data metrics and PCP logs. 2018-10-05 17:28:00 -04:00
Pradyumna Kaushik
39ba273d1a Changed Logging.md to Logs.md 2018-10-05 13:19:42 -04:00
Pradyumna Kaushik
66dd017eb9 Updated description of power capping policies.
Updated point in Usage section to indicate that power capping policies
are pluggable.
Mentioned that it is possible to plug in power capping policies.
Added the commandline option as well.
2018-10-05 13:15:07 -04:00
Pradyumna Kaushik
ea0eda2db1 Removed redundant information. Changed Logging to Logs. 2018-10-05 13:12:23 -04:00
Pradyumna Kaushik
f0e368c98c Information on different logs. Added PCP.md file. 2018-10-05 13:06:46 -04:00
Pradyumna Kaushik
a5425874c2 Fix section sizes. Reposition sp selector image. 2018-10-03 21:44:46 -04:00
Pradyumna Kaushik
686aafe56e Remove tag from section title. Fix section sizes.
Removed the 'Elektron' tag from the section title. Also fixed the
sizes of the sections and subsections.
2018-10-03 21:44:12 -04:00
Pradyumna Kaushik
59e84f9a9f Removed commands to plug-in scheduling policies.
The documentation on the different scheduling policies should
technically not include the commands to be used to plug them in.
The commands would need to be present in a separate section that
talks about different ways to run Elektron.
2018-10-03 21:32:53 -04:00
Pradyumna Kaushik
79bca21cf0 Documentation for Scheduling Policy Switching. 2018-10-03 21:29:52 -04:00
Pradyumna Kaushik
8f8772a66e Try 2 of image include. Outline for detailed doc. 2018-09-28 01:41:56 -04:00
Pradyumna Kaushik
5019ea34a4 Added architecture diagram. Refined description. 2018-09-28 01:16:08 -04:00
Pradyumna Kaushik
ab94d5f66a Commands to plug-in schedPolicies into Elektron. 2018-09-25 14:07:40 -04:00
Pradyumna Kaushik
ad9f67a2a0 moved documentation of scheduling policies and power-capping strategies into a documentation folder called docs/ 2017-09-28 15:53:36 -04:00