Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Logging any error, info, debug to database (like log4j)

Dear experts,

Is there any good example how to log custom error, info or debug in phalcon to database? I loved the way log4j.

Thank you

Apache has a log4php project. It's not built with Phalcon in mind, but it is pretty straightforward.

There is also built-in Phalcon logging functionality:

I would suggest you Monolog.

it's really powerful