开发者

Does the size of a log file affect the processing time of loging with the Logger class in Ruby?

开发者 https://www.devze.com 2023-04-11 01:35 出处:网络
I\'m using the Logger class in Ruby\'s standard library. http://rubylearning.com/satishtalim/ruby_logging.html

I'm using the Logger class in Ruby's standard library.

http://rubylearning.com/satishtalim/ruby_logging.html

I rotate a log file weekly.

If the s开发者_开发百科ize of a log file become larger, will the processing time of loging become longer?

Or will more CPU or memory be required?


It's just going to append to the end of the log file, it's not like it reads the log file in or anything :)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号