Announcement

Collapse
No announcement yet.

User-configurable Log File Rotation by maximum size

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • User-configurable Log File Rotation by maximum size

    Does Espo support rotation by size combined with date ? Due to some log spam I got a 100gb+ file that is hard to work with without splitting it (but the server has no more space). If espo supported rotation after 1GB I would have 100 files named espo-2019-11-11-r1.log to espo-2019-11-11-r100.log which would be faster to grep for problems since it would yield results every time a file is read.

    See the configuration example in this post: https://stackoverflow.com/a/55781644/3389585
    Last edited by tothewine; 11-11-2019, 09:50 AM.

  • #2
    FYI for anyone who needs the same thing: Espo now supports the requested behavior through the implementation of custom log handlers. Here is a tutorial.

    Comment

    Working...
    X