• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    View FOG logs from web interface?

    Feature Request
    4
    4
    395
    Loading More Posts
    • 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.
    • D
      Duncan last edited by

      Would it be possible to view the fog.log for the client on the web interface?

      Would be helpful for fault finding a computer with out remoting into C drive or logging on to the PC.

      Thanks.

      1 Reply Last reply Reply Quote 1
      • Wayne Workman
        Wayne Workman @Tom Elliott last edited by Wayne Workman

        @Tom-Elliott Store them in the database and have a daily cron job that cleans out logs older than N days (user defined). If FOG were to switch to MariaDB 10.3, the TokuDB engine would be available for use. TokuDB has in-engine compression. The compression savings is pretty staggering compared to InnoDB. TokuDB does not support foreign constraints - and because the FOG db doesn’t use them, we are A-OK there.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • Tom Elliott
          Tom Elliott last edited by

          I’m with you @Sebastian-Roth, while the idea is nice, it’s fairly difficult to setup. We’d need the client to send the logs and a place to store the information. While storing wouldn’t be too hard to figure put, it would mean space. Even though log files are relatively small, many logs would still add up. And that’s before we even start displaying the log in the gui.

          There is another way to get the info, by say having it request the log directly from the client I suppose, but then you’ll be fighting Windows firewall i would think. It’s not impossible to do but I think if you’re looking at the logs because of an issue, likely you’d have an issue getting the log remotely as well.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          Wayne Workman 1 Reply Last reply Reply Quote 1
          • S
            Sebastian Roth Moderator last edited by

            @Duncan Definitely an interesting idea. Though it would involve some major work to implement collecting those logs from the clients and I don’t see that we can do that any time soon.

            @Tom-Elliott Your thoughts on this?

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            187
            Online

            10.4k
            Users

            16.4k
            Topics

            150.5k
            Posts

            Copyright © 2012-2023 FOG Project