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

    NGINX System Logging

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    1 Posts 1 Posters 1.3k 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.
    • N
      NOYB
      last edited by

      Would it be possible to swap the process, fqdn, and pid order in system logging for nginx?
      Perhaps also remove the fqdn and date/time duplication.

      This would keep it consistent with the other system logging and filtering.
      Month Day Time Host_Name Process_Name[pid]: Message (everything else)

      For Example from this:

      
      Jan  9 15:03:06 pfSense pfsense.localdomain nginx: 2016/01/09 15:03:06 [error] 78366#0: send() failed (54: Connection reset by peer)
      
      

      to this:

      
      Jan  9 15:03:06 pfSense nginx[78366#0]: pfsense.localdomain 2016/01/09 15:03:06 [error] send() failed (54: Connection reset by peer)
      
      

      or this:

      
      Jan  9 15:03:06 pfSense nginx[78366#0]: [error] send() failed (54: Connection reset by peer)
      
      

      Took a quick look but it wasn't obvious to me so thought should ask.  Maybe someone already has the knowledge.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.