Closed arianf closed 6 years ago
I've previously had to use copytruncate with the regular Rails.logger, does using this gem require the use of copytruncate when outputting to file?
Rails.logger
copytruncate
file
/home/rails/myapp/shared/log/production.json { daily missingok rotate 7 notifempty copytruncate # needed by rails to avoid restart compress delaycompress }
Yes, that seems right. LogStashLogger writes to a file the same way Rails does.
I've previously had to use copytruncate with the regular
Rails.logger
, does using this gem require the use ofcopytruncate
when outputting tofile
?