新手问题 请教如何在 cloudfoundry 的日志中看 print 的输出

otecteng · 2013年05月30日 · 最后由 otecteng 回复于 2013年05月30日 · 2173 次阅读

rails 3,使用 print 或者 p 打印日志,使用 vmc logs app 查看日志,logs/console.log,logs/stdout.log 都没有看到输出,请教是否需要修改什么配置,还是需要引用其它包来实现日志打印?

我很土,用这个 logger.debug("Logs: #{@user.name}")

@xazaj , it works, thanks

需要 登录 后方可回复, 如果你还没有账号请 注册新账号