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

    Change c:\fog.log location?

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    3
    5
    1.6k
    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.
    • M
      maverick2041
      last edited by

      Hi there,

      I see this question was asked 2 years ago here:

      https://forums.fogproject.org/topic/2572/fog-log-file-location/8

      However the answer doesn’t seem to be applicable anymore. I tried creating a “config.ini” file in “C:\Program Files (x86)\Fog\etc” and inserting the line “logfile=c:\logs\fog.log” however the Fog Service still places its log directly at c:\fog.log.

      I see also that the fog.log location is mentioned here (below) but I’ve been unable to locate a documented method to change it:

      https://wiki.fogproject.org/wiki/index.php?title=Managing_FOG#Troubleshooting

      Is it possible to change the location of this file?

      Thanks kindly.

      1 Reply Last reply Reply Quote 0
      • M
        maverick2041
        last edited by

        Oh jeez, I just noticed the option in the service installer to “Put Log File in Root” which is one way to change it, now just wondering if there’s a supported way to specify another location.

        1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          @maverick2041 yes, see here for details: https://wiki.fogproject.org/wiki/index.php?title=FOG_Client

          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
          • J
            Joe Schmitt Senior Developer
            last edited by

            @maverick2041 said:

            I see also that the fog.log location is mentioned here (below) but I’ve been unable to locate a documented method to change it:

            There is no other option. The log can either be at C:\fog.log or in the installation directory.

            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.

            1 Reply Last reply Reply Quote 0
            • M
              maverick2041
              last edited by

              Thank you both for the quick responses. 🙂 Very much appreciated.

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

              186

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project