Skip to content

Commit

Permalink
chore: 日志大小扩大到16M
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Nov 28, 2023
1 parent 5d585ea commit 7c4af53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/MaaUtils/Logger/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ bool Logger::rotate()
ofs_.close();
}

constexpr uintmax_t MaxLogSize = 4ULL * 1024 * 1024;
constexpr uintmax_t MaxLogSize = 16ULL * 1024 * 1024;
const uintmax_t log_size = std::filesystem::file_size(log_path_);
if (log_size < MaxLogSize) {
return false;
Expand Down

0 comments on commit 7c4af53

Please sign in to comment.