verfino
V2EX  ›  Node.js

使用forever的时候 如何让他不打印日志?

  •  
  •   verfino · Jan 24, 2013 · 3561 views
    This topic created in 4882 days ago, the information mentioned may be changed or developed.
    -l 也没用 但是还是默认在 /root/.forever 产生了几G大量日志,不知如何才能使其不输出日志

    鉴于有 /dev/null 这么个东东

    forever -a /dev/null script.js 这种方法不知是否可行?
    1 replies    1970-01-01 08:00:00 +08:00
    verfino
        1
    verfino  
    OP
       Jan 24, 2013
    已经解决
    forever -s start script.js
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   964 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 18:25 · PVG 02:25 · LAX 11:25 · JFK 14:25
    ♥ Do have faith in what you're doing.