Comments (15)
from wlogger.
不好意思~ 暂不支持~ ;后面有时间的话我会优化兼容win平台
from wlogger.
不好意思~ 暂不支持~ ;后面有时间的话我会优化兼容win平台
应该是可以兼容,我现在已经解决了上面的问题,但是卡在了
执行python main.py -r outputer -c config.ini 卡死
我觉得应该能跑起来
from wlogger.
打开outputer 里面的 log_debug 看看,如果跑起来的话 。 欢迎 提交 pr
from wlogger.
折腾的过程中碰到很多坑,最终还是没有搞定,日志的切割也始终没有正常执行。
期待作者早日支持Windows和Mac。
from wlogger.
好的~
from wlogger.
又折腾了一早上,目前卡在inputer的日志切割,报错如下
切割文件夹权限也设置成了everyone,,,,
from wlogger.
from wlogger.
日志文件里面写的很清楚了,日志切割存储目录 权限的问题,每一级的目录写的权限都检查下吧。执行命令前带上sudo,
…
---原始邮件--- 发件人: "beiguancyc"<[email protected]> 发送时间: 2020年12月15日(周二) 上午9:40 收件人: "jyolo/wLogger"<[email protected]>; 抄送: "State change"<[email protected]>;"jyolo"<[email protected]>; 主题: Re: [jyolo/wLogger] 可否兼容Win平台 (#2) 又折腾了一早上,目前卡在inputer的日志切割,报错如下 切割文件夹权限也设置成了everyone,,,, — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.
我让inputer自己创建切割文件夹。
文件夹可以创建成功,但是最终还是和上面一样的报错。
是不是Windows平台有特殊要求?
from wlogger.
from wlogger.
不好意思还得再麻烦您一下,我在Windows上的问题基本已经排除的差不多,但是功能上又碰到了一个问题。
我的NGINX的日志格式为默认格式:
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
config.ini设置
log_format_name = main
read_type = tail
但是依然报错
解析日志失败,请检查client 配置中 日志的 格式名称是否一致 log_format_name
以下是错误信息
{"node_id": "server_80", "app_name": "web1", "log_format_name": "main", "line": "223.198.177.192 - - [15/Dec/2020:15:30:37 +0800] "POST /j/classes/Check HTTP/1.1" 200 46433 "https://www.xxx.cn:4040/\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" "-"", "log_format_str": "$remote_addr - $remote_user [$time_local] "$request" '\r\n '$status $body_bytes_sent "$http_referer" '\r\n '"$http_user_agent" "$http_x_forwarded_for"", "log_format_vars": "$remote_addr<@>$remote_user<@>$time_local<@>$request<@>$status<@>$body_bytes_sent<@>$http_referer<@>$http_user_agent<@>$http_x_forwarded_for"}
from wlogger.
from wlogger.
目前我已经在Windows上跑通,第一次写python,碰到了太多问题,跟大家分享下经验
1.保证nginx的配置文件和日志文件都是用utf-8
2.日志移动到目标目录的时候,注意文件命名斜杠和反斜杠的问题
3.日至移动的当前代码无法在Win平台使用,另外我的nginx安装成服务,如何移动日志还需要测试
4.日志解析时生成的正则表达式和日志无法匹配。查资料后可能是因为Windows和linux 的差异性问题
目前1,2都已经解决。
3 需要考虑nginx占用日志的情况并需要测试
4 还需要做大量测试
感谢作者提供了这么好的日志分析系统
from wlogger.
from wlogger.
客气了,喜欢就好,那帮忙在v2ex 发个贴 分享一下,让更多的的人看到。希望该项目能帮助到更多的人。谢谢了~
…
------------------ 原始邮件 ------------------ 发件人: "jyolo/wLogger" <[email protected]>; 发送时间: 2020年12月17日(星期四) 中午12:53 收件人: "jyolo/wLogger"<[email protected]>; 抄送: "未命名的旋律"<[email protected]>;"State change"<[email protected]>; 主题: Re: [jyolo/wLogger] 可否兼容Win平台 (#2) 目前我已经在Windows上跑通,第一次写python,碰到了太多问题,跟大家分享下经验 1.保证nginx的配置文件和日志文件都是用utf-8 2.日志移动到目标目录的时候,注意文件命名斜杠和反斜杠的问题 3.日至移动的当前代码无法在Win平台使用,另外我的nginx安装成服务,如何移动日志还需要测试 4.日志解析时生成的正则表达式和日志无法匹配。查资料后可能是因为Windows和linux 的差异性问题 目前1,2都已经解决。 3 需要考虑nginx占用日志的情况并需要测试 4 还需要做大量测试 感谢作者提供了这么好的日志分析系统 — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.
等我完成测试后一定会的
from wlogger.
Related Issues (12)
- 请问地图上方的信息流 都流向了广东 我可以修改流动目标到其他省份吗 ? HOT 5
- 解析存储器一直停止不了,而且解析不到数据应该怎么处理 HOT 1
- log_format_name error
- mysql连接报错
- 请问web中的secret_key如何设置? HOT 3
- 你好,截图放到外链去了,需要翻墙才能才看;推荐README.MD的截图资源也放在项目中[握手] HOT 1
- 页面显示数据异常 HOT 9
- mysql table = logger_watcher,,, what is it like? HOT 1
- 提示online日志格式不存在 HOT 2
- 数据库表没有自动创建 HOT 14
- ubuntu下inputer开启不了 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wlogger.