1

I have the separate database mysql table with fields like

Message ---type ------date

I want to alog all messages like error , info , waring in database so that i can see the past history of the site and also in case of some problem. i can see whats going on

How can i do that

1 Answer 1

5

You need to write custom monolog handler. For details check those links doctrine monolog handler issue and the official documentation extending monolog

Sign up to request clarification or add additional context in comments.

1 Comment

I have read github.com/Seldaek/monolog/blob/master/doc/extending.md tutorial but i could not get what do i need to put in config.yml file.

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.