Skip to content

Commit

Permalink
Change log message level related to missing site name from error to w…
Browse files Browse the repository at this point in the history
…arning.

Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
  • Loading branch information
cniethammer committed May 23, 2024
1 parent c516eba commit 550a158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/molecules/Site.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Site {
*/
virtual void readXML(XMLfileUnits& xmlconfig) {
if (!xmlconfig.getNodeValue("@name", _name)) {
Log::global_log->error() << "Cannot find site name. Defaulting to type." << std::endl;
Log::global_log->warning() << "Cannot find site name. Defaulting to type." << std::endl;
xmlconfig.getNodeValue("@type", _name);
}
Log::global_log->info() << "Site name: " << _name << std::endl;
Expand Down

0 comments on commit 550a158

Please sign in to comment.