Escape underscore. Changed 'scheduling' to 'sched' in format.

This commit is contained in:
Pradyumna Kaushik 2018-10-05 23:06:04 -04:00
parent f3a1501e6e
commit 6549f8c13c
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
For every task that is scheduled, the task ID and the hostname of the node on which it was For every task that is scheduled, the task ID and the hostname of the node on which it was
launched is logged. launched is logged.
The scheduled trace logs are written to a file named _\<logFilePrefix\>\_\<timestamp\>_schedTrace.log_, where The scheduled trace logs are written to a file named _\<logFilePrefix\>\_\<timestamp\>\_schedTrace.log_, where
* _logFilePrefix_ is the prefix provided using the `-logPrefix` option. * _logFilePrefix_ is the prefix provided using the `-logPrefix` option.
* _timestamp_ corresponds to the time when _Elektron_ was run. * _timestamp_ corresponds to the time when _Elektron_ was run.

View file

@ -2,13 +2,13 @@
Every time _Elektron_ switches to a different scheduling policy, the name of the scheduling policy and the time at which the switch took place is logged. Every time _Elektron_ switches to a different scheduling policy, the name of the scheduling policy and the time at which the switch took place is logged.
The logs are written to a file named _\<logFilePrefix\>\_\<timestamp\>_schedPolSwitch.log_, where The logs are written to a file named _\<logFilePrefix\>\_\<timestamp\>\_schedPolSwitch.log_, where
* _logFilePrefix_ is the prefix provided using the `-logPrefix` option. * _logFilePrefix_ is the prefix provided using the `-logPrefix` option.
* _timestamp_ corresponds to the time when _Elektron_ was run. * _timestamp_ corresponds to the time when _Elektron_ was run.
The format of the data logged is as shown below. The format of the data logged is as shown below.
``` ```
<yyyy/mm/dd> <hh:mm:ss> <scheduling policy name> <yyyy/mm/dd> <hh:mm:ss> <sched policy name>
``` ```
_Note: The names of the scheduling policies can be found [here](https://gitlab.com/spdf/elektron/blob/master/schedulers/store.go#L14)_ _Note: The names of the scheduling policies can be found [here](https://gitlab.com/spdf/elektron/blob/master/schedulers/store.go#L14)_