diff --git a/Library/Measure.cpp b/Library/Measure.cpp index 63293d2b..324ce806 100644 --- a/Library/Measure.cpp +++ b/Library/Measure.cpp @@ -877,5 +877,5 @@ Measure* Measure::Create(const WCHAR* measure, MeterWindow* meterWindow, const W */ void Measure::Command(const std::wstring& command) { - LogWarningF(this, L"!CommandMeasure: Not supported by [%s]", m_Name.c_str()); + LogWarningF(this, L"!CommandMeasure: Not supported"); } diff --git a/Library/MeasureCPU.cpp b/Library/MeasureCPU.cpp index 6628dbd9..1253a0ed 100644 --- a/Library/MeasureCPU.cpp +++ b/Library/MeasureCPU.cpp @@ -91,7 +91,7 @@ void MeasureCPU::ReadOptions(ConfigParser& parser, const WCHAR* section) if (processor < 0 || processor > c_NumOfProcessors) { - LogWarningF(this, L"CPU: Processor=%i invalid in [%s]", processor, section); + LogWarningF(this, L"CPU: Processor=%i is not valid", processor); processor = 0; }