如何监视Meteor.com服务器端日志 [英] How to monitor Meteor.com server-side logs

查看:100
本文介绍了如何监视Meteor.com服务器端日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种从部署为myapp.meteor.com的Meteor应用中获取服务器日志的方法. 理想情况下,我可以使用的配置或程序包将远程服务器的日志实时发送到本地终端(Linux/OSX). 有没有直接的方法可以做到这一点?

I'm looking for a way to get the server logs from a Meteor app deployed as myapp.meteor.com. Ideally, a configuration or package I can use which will send in real-time the logs of the remote server to a local terminal (Linux/OSX). Is there a straight forward way to achieve this?

推荐答案

使用内置的流星命令来加载最新的日志:

Use the built in meteor command to load the most recent logs:

meteor logs myapp.meteor.com

也可以与meteor mongo一起使用!

这篇关于如何监视Meteor.com服务器端日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆