I have a debian server running freeradius. I have a web backend I use for managing users, etc. Under the backend of my webpage I need to have a settings page where i can check a box next to debug, click apply and puts the server/freeradius in debug mode. I will then need a page where I can view the log files that are displayed after the debug has been checked and applied. Once I see what I need to see, I need to be able to uncheck the debug box, click APPLY and then there will be no log files displayed within the backend page.
Ultimately, I would like to constantly be able to view log files from the server within my backend management page to better know whats going on with my server from the web page vs. having to SSH to the server, etc.
Thanks for your help.