V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
verfino
V2EX  ›  Node.js

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

  •  
  •   verfino · Jan 24, 2013 · 3497 views
    This topic created in 4852 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   ·   1006 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 19:16 · PVG 03:16 · LAX 12:16 · JFK 15:16
    ♥ Do have faith in what you're doing.