Skip to content
Closed
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
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
endif()
endif()


list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )

set(CMAKE_EXPORT_COMPILE_COMMANDS "ON")
Expand Down
2 changes: 1 addition & 1 deletion libraries/fc
Submodule fc updated from c672e3 to 3c1e96
9 changes: 9 additions & 0 deletions programs/steemd/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,15 @@ fc::optional<fc::logging_config> load_logging_config_from_ini_file(const fc::pat
file_appender_config.rotate = true;
file_appender_config.rotation_interval = fc::hours(1);
file_appender_config.rotation_limit = fc::days(1);
try
{
file_appender_config.rotation_compression = section_tree.get<bool>("compress");
}
catch (const boost::property_tree::ptree_bad_path& e)
{
file_appender_config.rotation_compression = false;
}

logging_config.appenders.push_back(fc::appender_config(file_appender_name, "file", fc::variant(file_appender_config)));
found_logging_config = true;
}
Expand Down