Routing

 View Only
  • 1.  "ifstraced" logfile

    Posted 10-08-2022 13:34
    The "ifstraced" file (show log ifstraced) is constantly being filled.
    There is no "file ifstraced" in the config.

    What is the "ifstraced" logfile?
    How to disable logging in "ifstraced"?
    # fstat /var/log/ifstraced
    USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME
    fstat: kinfo_getfile(): Permission denied
    root     ifstraced  10506    3 /.mount  4897305 -rw-r--r--  522967  w  /var/log/ifstraced​

    JunOS 21.2R3.8
    MX-960


  • 2.  RE: "ifstraced" logfile
    Best Answer

    Posted 10-09-2022 12:01
    You might be hitting this issue fixed with upgrade to the listed versions.
    https://prsearch.juniper.net/problemreport/PR1654737

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: "ifstraced" logfile

    Posted 10-15-2022 11:21
    I have updated the system to 21.4R3.15 
    21.4R3 is marked as RESOLVED IN for PR1654737
    , but /var/log/ifstraced is still  being filled
    Is there a way to disable this log?


  • 4.  RE: "ifstraced" logfile

    Posted 06-11-2026 23:04

    Bumping this up as we'd also like to disable this log.

    We have this writing 24MB/minute on our edge Juniper routers.




  • 5.  RE: "ifstraced" logfile

    Posted 06-12-2026 01:30

    Perhaps this is useful:

    https://supportportal.juniper.net/s/article/Junos-Platform-Example-How-to-prevent-certain-syslog-messages-from-being-written-to-the-log-file



    ------------------------------
    PER GRANATH
    ------------------------------



  • 6.  RE: "ifstraced" logfile

    Posted 24 days ago

    Actually I very recently discussed this same subject on some other forums, and found the appropriate article on Juniper KB: KB94473

    Quite simple: the trace process (ifstraced) that logs those (useless and massive) routing change data (since JunOS 17.4) is very easy to disable (but with a hidden command):

    set system processes ifstate-tracing-process disable

    Result:

    > show log ifstraced | last 1 | no-more 
    ifstraced: [go_trace:488] Received signal SIGINT or SIGTERM,      shutting down ifstraced

    Job done, no more TB of useless stuff wearing out the SSD.



    ------------------------------
    Olivier Benghozi
    ------------------------------