问题标签 [logentries]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
96 浏览

docker - Logentries Docker container will not start

I have just added the Logentries Docker container, to a Rancher setup. We have another set of LE Docker containers running already just fine. However, this new container will not start – the logs say:

I am not familiar enough with Logentries' Docker-based setup to understand what is going on here.

It looks like it is failing to connect to something, but what? How can I try to find out?

0 投票
1 回答
145 浏览

node.js - 带有 Winston 的 Logentries 未捕获 ERROR、DEBUG

我在我的 NodeJS 应用程序中使用 Winston 3.1.0,以及 Logentries le_node 1.8.0。

Logentries 仅捕获 INFO、DEBUG 或 ERROR 或 DEBUG。

我也在使用控制台和文件传输,并且这些都被正确记录。

知道为什么 LE 只捕获信息,调试吗?

0 投票
0 回答
214 浏览

docker - Logentries how to log /dev/stdout

I'm using Logentries and Kubernetes and I've tried the Logentries Docker image which works well but all logs get sent to the same log. I need a way to send logs from different containers to different logs and the logs should be created in Logentries if they do not exist (like what is possible with the Logentries agent).

As far as I can tell there is no way to do this, or is there?

That led me to try to use the agent on my application container, but here I have a different problem. The agent can't seem to track logs that are sent to /dev/stdout, my Nginx log file is configured like this:

And I tried both of these in the /etc/le/config file but neither works:

Is there a way I can get the agent to track these logs correctly?

0 投票
1 回答
430 浏览

amazon-web-services - 如何在 AWS ECS 任务定义中配置日志

我正在尝试为AWS ECS 上的任务定义配置日志 如您在此处看到的, “日志”可用于容器实例。

但是我找不到任何关于如何配置它的文档或示例。我看过其他驱动程序的示例:https ://docs.aws.amazon.com/AmazonECS/latest/userguide/example_task_definitions.html

因此,我尝试在 aws 控制台 中设置本文档中定义的所需参数:在此处输入图像描述

但是,当我尝试使用此配置运行任务时,我得到:

service my-service 无法放置任务,因为没有容器实例满足其所有要求。最接近的匹配容器实例缺少您的任务所需的属性。有关详细信息,请参阅故障排除部分。

有任何想法吗?

0 投票
1 回答
95 浏览

ruby-on-rails - 如何让 Rails 应用程序日志显示在 Heroku logentries 插件中?

在某些时候,我的应用程序停止显示有用的应用程序日志,而是开始显示路由器日志:

这些不是很有帮助。有没有我需要打开的设置?

0 投票
1 回答
84 浏览

heroku - 同时使用多个 Heroku 日志记录插件

可以在同一个 Heroku 应用程序中同时使用 Papertrail 和 LogEntries 日志记录,还是会导致问题?

0 投票
0 回答
79 浏览

selenium - 使用最新的 Chromedriver 获取此警告:无法评估脚本:已断开连接:未连接到 DevTools。如何解决这个问题?

我在 Eclipse 中收到此警告:无法评估脚本:已断开连接:运行黄瓜硒脚本时未连接到 DevTools。 警告图片

我正在使用最新的 Chrome 驱动程序版本。由于这个问题,下面的代码没有给出输出。

谁能帮我运行这段代码?

0 投票
0 回答
18 浏览

amazon-web-services - AWS Elastic Beanstalk 上的 Logentries 集成

我试图在我的项目中集成日志,但它不起作用。

实施步骤之后是https://docs.logentries.com/docs/elastic-beanstalk-logging

我的项目目录如下所示:

logentriesBeanstalk.config:

当我尝试将我的项目部署到 elastic-beanstalk 时,它说an error occurred on ebextensions...但没有更多细节......

有什么建议吗?

0 投票
0 回答
26 浏览

docker - 日志没有被推送到 logEntries

我们在 Amazon ECS 上运行 docker 容器。这些 docker 容器通过 logEntries 令牌将日志推送到 logEntries。我们看到,每当容器重新启动时,日志就会被推送到 logEntries,并且在一段时间之后,日志不会被推送到 logEntries。虽然容器正在运行。

有人可以提供如何将日志从容器推送到 logEntries 的流程。