apps: set app log level by command line parameter.

This commit is contained in:
Martin Preuss
2024-03-21 23:40:44 +01:00
parent 30522df662
commit 87d22b1e16
8 changed files with 79 additions and 7 deletions

View File

@@ -96,8 +96,7 @@ int main(int argc, char **argv)
}
GWEN_Logger_Open(0, "aqhome-react", 0, GWEN_LoggerType_Console, GWEN_LoggerFacility_User);
//GWEN_Logger_SetLevel(0, GWEN_LoggerLevel_Warning);
GWEN_Logger_SetLevel(0, GWEN_LoggerLevel_Info);
GWEN_Logger_SetLevel(0, GWEN_LoggerLevel_Warning);
rv=AQH_Init();
if (rv<0) {