-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lineDebug无效 #5
Comments
我知道怎么回事了,windows环境的问题 路径存在: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
开启lineDebug无法输出行号。
[2015-01-09 20:05:36.690] [DEBUG] pomelo - \Users\Administrator\WebstormProjects\chatofpomelo-websocket\node_modules\pomelo\lib\components\connector.js: [c:\Users\Administrator\WebstormProjects\chatofpomelo-websocket\node_modules\pomelo\lib\components\connector.js] [connector-server-1] send message reqId: null, route: onChat, msg: {"msg":"123","from":"aaa","target":"*"}, receivers: [1], opts: {"type":"push","userOptions":{},"isPush":true}
{
"appenders": [
{
"type": "console"
},
{
"type": "file",
"filename": "${opts:base}/logs/con-log-${opts:serverId}.log",
"pattern": "connector",
"maxLogSize": 1048576,
"layout": {
"type": "basic"
},
"backups": 5,
"category": "con-log"
},
{
"type": "file",
"filename": "${opts:base}/logs/rpc-log-${opts:serverId}.log",
"maxLogSize": 1048576,
"layout": {
"type": "basic"
},
"backups": 5,
"category": "rpc-log"
},
{
"type": "file",
"filename": "${opts:base}/logs/forward-log-${opts:serverId}.log",
"maxLogSize": 1048576,
"layout": {
"type": "basic"
},
"backups": 5,
"category": "forward-log"
},
{
"type": "file",
"filename": "${opts:base}/logs/rpc-debug-${opts:serverId}.log",
"maxLogSize": 1048576,
"layout": {
"type": "basic"
},
"backups": 5,
"category": "rpc-debug"
},
{
"type": "file",
"filename": "${opts:base}/logs/crash.log",
"maxLogSize": 1048576,
"layout": {
"type": "basic"
},
"backups": 5,
"category":"crash-log"
},
{
"type": "file",
"filename": "${opts:base}/logs/admin.log",
"maxLogSize": 1048576,
"layout": {
"type": "basic"
}
,"backups": 5,
"category":"admin-log"
},
{
"type": "file",
"filename": "${opts:base}/logs/pomelo.log",
"maxLogSize": 1048576,
"layout": {
"type": "basic"
}
,"backups": 5,
"category":"pomelo"
},
{
"type": "file",
"filename": "${opts:base}/logs/pomelo-admin.log",
"maxLogSize": 1048576,
"layout": {
"type": "basic"
}
,"backups": 5,
"category":"pomelo-admin"
},
{
"type": "file",
"filename": "${opts:base}/logs/pomelo-rpc.log",
"maxLogSize": 1048576,
"layout": {
"type": "basic"
}
,"backups": 5,
"category":"pomelo-rpc"
}
],
"levels": {
"rpc-log" : "ERROR",
"forward-log": "ERROR"
},
"replaceConsole": true,
"lineDebug": true
}
The text was updated successfully, but these errors were encountered: