title: How to put Spring Boot logging data into database? I want to put all INFO and ERROR messages to database
body: <p>So i am creating admin panel for application and i would like to put all user problems and user actions to database so i could show them in admin panel. That way admins would not have to go and check logging files which contains alot of other info they do not need to use. Yet i also need logging file for myself so i could see if something happens with server.</p>
  
  <p>What is best way to do this, how to setup that kind of logging globally so i would not have to put them to database manually in each controller?</p>