Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/proxy/logging/LogConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ class LogConfig : public ConfigInfo
bool reconfiguration_needed = false;
bool logging_space_exhausted = false;
int64_t m_space_used = 0;
int64_t m_partition_space_left;
bool roll_log_files_now; // signal that files must be rolled
int64_t m_partition_space_left = static_cast<int64_t>(UINT_MAX);
bool roll_log_files_now = false; // signal that files must be rolled

LogObjectManager log_object_manager;

Expand Down
2 changes: 1 addition & 1 deletion src/proxy/logging/LogConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ LogConfig::read_configuration_variables()
-------------------------------------------------------------------------*/

// TODO: Is UINT_MAX here really correct?
LogConfig::LogConfig() : m_partition_space_left(static_cast<int64_t>(UINT_MAX))
LogConfig::LogConfig()
{
// Setup the default values for all LogConfig public variables so that
// a LogConfig object is valid upon return from the constructor even
Expand Down