Skip to content

Commit

Permalink
Merge pull request #719 from zowe/change-log-to-debug
Browse files Browse the repository at this point in the history
Change log level for setting default value of 'httpRequestHeapMaxBlocks' to DEFAULT instead of INFO
  • Loading branch information
1000TurquoisePogs authored Jul 31, 2024
2 parents 05fc40f + 0490f8b commit 6a4a315
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to the ZSS package will be documented in this file.

## `2.18.0`
- Change log level for setting default value of 'httpRequestHeapMaxBlocks' to DEBUG instead of INFO.(#719)

## `2.17.0`
- Code to configure the SLH block size of the http server through 'httpRequestHeapMaxBlocks' in the yaml.(#701)

Expand Down
2 changes: 1 addition & 1 deletion c/zss.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ static void setHttpRequestHeapMaxBlocks(HttpServer *server, ConfigManager *confi
}
zowelog(NULL, LOG_COMP_ID_MVD_SERVER, ZOWE_LOG_INFO, "httpHeapMaxBlocks should be between %d and %d\n",HTTP_REQUEST_HEAP_MIN_BLOCKS,HTTP_REQUEST_HEAP_MAX_BLOCKS);
} else{
zowelog(NULL, LOG_COMP_ID_MVD_SERVER, ZOWE_LOG_INFO, "fallback to default server settings\n");
zowelog(NULL, LOG_COMP_ID_MVD_SERVER, ZOWE_LOG_DEBUG, "fallback to default server settings\n");
maxBlocks = HTTP_REQUEST_HEAP_DEFAULT_BLOCKS;
}
server->config->httpRequestHeapMaxBlocks = (unsigned int)maxBlocks;
Expand Down

0 comments on commit 6a4a315

Please sign in to comment.