• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

GUI services in the system log are filled with nginx messages

Scheduled Pinned Locked Moved webGUI
27 Posts 10 Posters 3.6k Views
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.
  • F
    fireodo @willemb
    last edited by Feb 19, 2022, 10:36 AM

    @willemb said in GUI services in the system log are filled with nginx messages:

    Thanks fireodo.

    Glad you made it!

    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
    pfsense 2.7.2 CE
    Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

    1 Reply Last reply Reply Quote 0
    • M
      moelassus @fireodo
      last edited by Feb 19, 2022, 5:52 PM

      @fireodo That worked perfectly! Thanks!

      1 Reply Last reply Reply Quote 0
      • T
        troysjanda @fireodo
        last edited by Feb 19, 2022, 6:06 PM

        @fireodo So this is the line I see

        access_log syslog:server=unix:/var/run/log,facility=local5 combined;

        I should change it to

        access_log off; #syslog:server=unix:/var/run/log,facility=local5 combined;

        Dell Poweredge r210 II, Intel(R) Xeon(R) CPU E31240 @ 3.30GHz RAM: 16GB
        Dell Enterprise HHD x1 500gb (ZFS)
        Pfsense: 2.7.1(amd64)
        Installed Pkg's: Cron, System_Patches.

        F 1 Reply Last reply Feb 19, 2022, 6:12 PM Reply Quote 0
        • F
          fireodo @troysjanda
          last edited by Feb 19, 2022, 6:12 PM

          @troysjanda said in GUI services in the system log are filled with nginx messages:

          should change it to
          access_log off; #syslog:server=unix:/var/run/log,facility=local5 combined;

          Looks OK

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.7.2 CE
          Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

          1 Reply Last reply Reply Quote 1
          • S SteveITS referenced this topic on Feb 21, 2022, 5:03 PM
          • S SteveITS referenced this topic on Feb 21, 2022, 5:03 PM
          • S SteveITS referenced this topic on Feb 21, 2022, 5:14 PM
          • S SteveITS referenced this topic on Feb 21, 2022, 5:14 PM
          • S SteveITS referenced this topic on Feb 21, 2022, 5:37 PM
          • S SteveITS referenced this topic on Feb 21, 2022, 5:37 PM
          • A
            areckethennu
            last edited by areckethennu Feb 22, 2022, 2:16 AM Feb 22, 2022, 2:16 AM

            I've kept this log activated. I just filtered it on "newsyslog" for the process. Over the last 2 days, my default (500k) sized logs have "turned over" 10 times:

            20220221 -- Status System Logs System GUI Service NewSysLog.png

            In all my other logs, I've got two of them where they've turned over twice (each).

            I'm just a home user with pfSense 23.09-RELEASE (amd64) on a Protecli VP2410

            S M 2 Replies Last reply Feb 22, 2022, 4:37 PM Reply Quote 0
            • S
              SteveITS Galactic Empire @areckethennu
              last edited by Feb 22, 2022, 4:37 PM

              @areckethennu said in GUI services in the system log are filled with nginx messages:

              Over the last 2 days, my default (500k) sized logs have "turned over" 10 times:

              5 times? newsyslog is always listed twice in a row, looking at the times, not sure why and haven't looked into it.

              Do you leave your dashboard page visible? The web server logs all HTTP requests so the dashboard will generate a lot as it updates widgets.

              Looking at a few routers we manage the log file turnover seems to range between a few days to a week, to several months, so I would think it just depends on how busy the router's web GUI is. As I mentioned above this log existed in prior versions as well. I suppose it's possible the dashboard or GUI makes more web requests in this version but that seems unlikely to be a significant difference to me, especially if the web GUI isn't being used a lot.

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

              A 1 Reply Last reply Feb 22, 2022, 5:35 PM Reply Quote 0
              • A
                areckethennu @SteveITS
                last edited by Feb 22, 2022, 5:35 PM

                @steveits I was actually using the WebGUI yesterday and the day ended with that log turning over 10 times for that day, alone. And, yes, I don't usually use the WebGUI all that much, but there seems to be an awful lot more entries than I remember.

                Anyway, I opened a bug report on it:

                https://redmine.pfsense.org/issues/12833

                But, they explained that it was necessary for security logging and closed it. I understand that perfectly. It's just a bit bothersome.

                I'm just a home user with pfSense 23.09-RELEASE (amd64) on a Protecli VP2410

                G 1 Reply Last reply Mar 3, 2022, 8:58 AM Reply Quote 0
                • G
                  Gertjan @areckethennu
                  last edited by Mar 3, 2022, 8:58 AM

                  Other solutions :

                  Instead of looking at the dashboard page, look somewhere else, like the logs files page.
                  The dashboard page takes a lot of resource to create.

                  Also : consider sending the logs to a remote syslog server, create one on your LAN.

                  Another solution :
                  Instead of disabling the logging, read what is proposed here :
                  Enabling Conditional Logging
                  The example shows how to excludes requests with HTTP status codes 2xx (Success) and 3xx (Redirection).
                  So the ordinary page requests will not get logged, but errors etc will.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  T 1 Reply Last reply Mar 3, 2022, 9:51 PM Reply Quote 0
                  • T
                    troysjanda @Gertjan
                    last edited by Mar 3, 2022, 9:51 PM

                    @gertjan how to deploy this in pfsense

                    map $status $loggable {
                        ~^[23]  0;
                        default 1;
                    }
                    
                    access_log /path/to/access.log combined if=$loggable;
                    

                    Dell Poweredge r210 II, Intel(R) Xeon(R) CPU E31240 @ 3.30GHz RAM: 16GB
                    Dell Enterprise HHD x1 500gb (ZFS)
                    Pfsense: 2.7.1(amd64)
                    Installed Pkg's: Cron, System_Patches.

                    G 1 Reply Last reply May 13, 2024, 2:17 PM Reply Quote 0
                    • M
                      madfuzker @areckethennu
                      last edited by madfuzker Jan 31, 2023, 4:02 AM Jan 31, 2023, 4:01 AM

                      @areckethennu said in GUI services in the system log are filled with nginx messages:

                      I've kept this log activated. I just filtered it on "newsyslog" for the process. Over the last 2 days, my default (500k) sized logs have "turned over" 10 times:

                      In all my other logs, I've got two of them where they've turned over twice (each).

                      That answer to keeping these out of syslog is to go to System Logs > Setting, and then uncheck "Everything" at the bottom in the section called "Remote Syslog Contents". You can check everything else, but having Everything checked drops all the GUI to syslog.

                      Seems there should be a checkbox for GUI service.

                      1 Reply Last reply Reply Quote 0
                      • G
                        GPz1100 @troysjanda
                        last edited by May 13, 2024, 2:17 PM

                        @troysjanda Did you ever figure out how to implement this? I don't need every page load logged, but logging errors would be useful.

                        1 Reply Last reply Reply Quote 0
                        • VioletDragonV
                          VioletDragon @willemb
                          last edited by VioletDragon May 13, 2024, 6:05 PM May 13, 2024, 5:47 PM

                          @GPz1100 this is an old thread. Consider creating a new post.

                          Regards.

                          1 Reply Last reply Reply Quote 0
                          • M
                            madfuzker
                            last edited by May 14, 2024, 6:44 AM

                            I just disabled it and it made the problem go away. I unfortunately can't provide much other info as I moved to OPNsense right after Netgate kindly revoked my "Lifetime" license they granted me 10 months earlier as a home user.... OPN is better supported IMO, open source, and not driven by greed. :)

                            G 1 Reply Last reply May 15, 2024, 5:43 AM Reply Quote 0
                            • G
                              GPz1100 @madfuzker
                              last edited by GPz1100 May 15, 2024, 5:45 AM May 15, 2024, 5:43 AM

                              @madfuzker Understood. I disabled it too as it seems the log content isn't very useful unless there's a problem.

                              As for the license changes; well, that's a topic for another thread :). I passed on opn for other reasons.

                              @VioletDragon So what if it's an old thread. The concern was never adequately addressed. A welcomed solution would be to have a loglevel option in the gui. Want everything, no problem, want errors only, we can do that too.

                              1 Reply Last reply Reply Quote 0
                              • G
                                GPz1100 @fireodo
                                last edited by Dec 8, 2024, 7:56 AM

                                @fireodo , @SteveITS

                                I assume this does not survive updates and has to be edited each time?

                                Or has gui log level been added to a gui setting to be managed (set different log level or disable entire)?

                                F 1 Reply Last reply Dec 12, 2024, 8:28 AM Reply Quote 0
                                • F
                                  fireodo @GPz1100
                                  last edited by Dec 12, 2024, 8:28 AM

                                  @GPz1100 said in GUI services in the system log are filled with nginx messages:

                                  @fireodo , @SteveITS

                                  I assume this does not survive updates and has to be edited each time?

                                  That is correct!

                                  Or has gui log level been added to a gui setting to be managed (set different log level or disable entire)?

                                  No, not in 2.7.2 and not in 24.11

                                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                  pfsense 2.7.2 CE
                                  Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                                  1 Reply Last reply Reply Quote 1
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                    This community forum collects and processes your personal information.
                                    consent.not_received