Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Data logging on the website [Qt, C++]
Forum Updated to NodeBB v4.3 + New Features

Data logging on the website [Qt, C++]

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lbrycht
    wrote on last edited by
    #1

    Hi,

    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?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      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 ?`

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply
      0
      • M Offline
        M Offline
        mostefa
        wrote on last edited by mostefa
        #3

        Hi @lbrycht

        For redirecting qDebug to File , you can simply use QSlog

        Here is the Github link for this project:

        https://github.com/victronenergy/QsLog

        and here is a link to documentation Classes :

        http://cmic.cs.ucl.ac.uk/NiftyLink-API/classQsLogging_1_1Logger.html

        L 1 Reply Last reply
        1
        • SGaistS SGaist

          Hi,

          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 ?`

          L Offline
          L Offline
          lbrycht
          wrote on last edited by
          #4

          @SGaist For example http website with hyperlink of date a log. Hyperlink open a another page with raport list with time and name event.

          1 Reply Last reply
          0
          • M mostefa

            Hi @lbrycht

            For redirecting qDebug to File , you can simply use QSlog

            Here is the Github link for this project:

            https://github.com/victronenergy/QsLog

            and here is a link to documentation Classes :

            http://cmic.cs.ucl.ac.uk/NiftyLink-API/classQsLogging_1_1Logger.html

            L Offline
            L Offline
            lbrycht
            wrote on last edited by
            #5

            @mostefa Thank's, I'll try use QSlog.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved