Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Data logging on the website [Qt, C++]
I would like to raport some actions performed by the user of my application. I would like to write logs to file and send to some website. In the first case, I want to use redirect qDebug to file with using qInstallMsgHandler. In the second case I have no idea how to do it?
I'm working in Debian 7.8.0 with Qt 4.8.2.
The network architecture of my project are 4 computers that do not have access to the Internet. I want to be a web server so that other users can view the page by my IP. What tools should I use?
Don't get me wrong, but that sounds like you are spying on your users especially the "write logs to file and send to some website".
What exactly are you trying to do ?`
mostefa last edited by mostefa
For redirecting qDebug to File , you can simply use QSlog
Here is the Github link for this project:
and here is a link to documentation Classes :
@SGaist For example http website with hyperlink of date a log. Hyperlink open a another page with raport list with time and name event.
@mostefa Thank's, I'll try use QSlog.