Searched hist:f54b260b6261f644a65efe5445a9e93a418c2eed (Results 1 – 1 of 1) sorted by relevance
/openbmc/phosphor-pid-control/ |
H A D | main.cpp | diff f54b260b6261f644a65efe5445a9e93a418c2eed Fri Apr 09 14:17:34 CDT 2021 Josh Lehan <krellan@google.com> Fix command-line parsing of loggingPath
The "-l" option for loggingPath was not enabling logging when given, as it should have been. Now, logging can be enabled either by use of command line or by existence of sentinel file, as intended.
Thanks to Anton Kachalov and Konstantin Klubnichkin for catching this bug.
Also cleaned up the printing of the informational lines printed, for loggingEnabled and tuningEnabled, to be correct as originally intended: printed when enabled, no output when disabled.
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: I3f20a4dee997e04985d32cd6020b719e0b4d117e
|