0

Is there any way to store Magneto 2 logs into the database? Is it possible by overriding any functions?

1
  • Error logs ?? instead of writing to logs files why didn't write those to DB. But I don't think it's a good option to write to DB. Commented Dec 13, 2021 at 11:49

1 Answer 1

0

I don't think this is a good way. I don't know what your purpose for this is but Magento log files are a lot, if you save it in the database this can have a huge impact on website performance.

Case if you save all log files in DB it will give full memory error when you query data

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.