[GitHub] [incubator-apisix] cyxinda edited a comment on issue #1058: bug: apisixe start fail

2020-01-16 Thread GitBox
cyxinda edited a comment on issue #1058: bug: apisixe start fail URL: https://github.com/apache/incubator-apisix/issues/1058#issuecomment-575031071 When I run "/usr/bin/apisix start ",the error log is: /usr/local/apisix/deps/share/lua/5.1/tinyyaml.lua

[GitHub] [incubator-apisix] cyxinda commented on issue #1058: bug: apisixe start fail

2020-01-16 Thread GitBox
cyxinda commented on issue #1058: bug: apisixe start fail URL: https://github.com/apache/incubator-apisix/issues/1058#issuecomment-575031071 When I run "/usr/bin/apisix start ",the error log is: `/usr/local/apisix/deps/share/lua/5.1/tinyyaml.lua

[GitHub] [incubator-apisix] moonming commented on issue #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
moonming commented on issue #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#issuecomment-575040974 > There are performance issues with the per-request log message mode. > > It is better to put log messages in the queue first, and then send

[GitHub] [incubator-apisix] cyxinda edited a comment on issue #1058: bug: apisixe start fail

2020-01-16 Thread GitBox
cyxinda edited a comment on issue #1058: bug: apisixe start fail URL: https://github.com/apache/incubator-apisix/issues/1058#issuecomment-575031071 When I run "/usr/bin/apisix start ",the error log is: /usr/local/apisix/deps/share/lua/5.1/tinyyaml.lua

[GitHub] [incubator-apisix] wangsoft opened a new issue #1072: bug: dashboard can't add upstream

2020-01-16 Thread GitBox
wangsoft opened a new issue #1072: bug: dashboard can't add upstream URL: https://github.com/apache/incubator-apisix/issues/1072 ### Issue description add upstream error ### Environment * apisix version (cmd: `apisix version`):1.0 * OS: centOS 7 ### Minimal

[GitHub] [incubator-apisix] cyxinda commented on issue #1058: bug: apisixe start fail

2020-01-16 Thread GitBox
cyxinda commented on issue #1058: bug: apisixe start fail URL: https://github.com/apache/incubator-apisix/issues/1058#issuecomment-575165435 I downloaded apisix of the version1.0 to my local host.Then I runned `yum -y install apisix-1.0-0.el7.noarch.rpm ` ,finished the install. And

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
membphis commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367748401 ## File path: lua/apisix/plugins/log-util.lua ## @@ -0,0 +1,62 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
membphis commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367747767 ## File path: lua/apisix/plugins/log-util.lua ## @@ -0,0 +1,62 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
membphis commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367748970 ## File path: lua/apisix/plugins/udp-logger.lua ## @@ -0,0 +1,83 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
membphis commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367748401 ## File path: lua/apisix/plugins/log-util.lua ## @@ -0,0 +1,62 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] membphis commented on issue #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
membphis commented on issue #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#issuecomment-575449117 > should I round the number for latency? Recommended to milliseconds. This is

[GitHub] [incubator-apisix] membphis merged pull request #1075: ignore idea files

2020-01-16 Thread GitBox
membphis merged pull request #1075: ignore idea files URL: https://github.com/apache/incubator-apisix/pull/1075 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[incubator-apisix] branch master updated: ignore idea files (#1075)

2020-01-16 Thread membphis
This is an automated email from the ASF dual-hosted git repository. membphis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git The following commit(s) were added to refs/heads/master by this push: new a9963b3 ignore idea files (#1075)

[GitHub] [incubator-apisix] sshniro commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
sshniro commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367751556 ## File path: lua/apisix/plugins/udp-logger.lua ## @@ -0,0 +1,83 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] membphis commented on issue #1074: bug: module apisix.balancer not found

2020-01-16 Thread GitBox
membphis commented on issue #1074: bug: module apisix.balancer not found URL: https://github.com/apache/incubator-apisix/issues/1074#issuecomment-575445460 The problem is that you put Apache APISIX in the user root directory `/ root /`. After the APISIX Worker process starts, the default

[GitHub] [incubator-apisix] sshniro opened a new issue #1076: Queue implementation to process events in batches.

2020-01-16 Thread GitBox
sshniro opened a new issue #1076: Queue implementation to process events in batches. URL: https://github.com/apache/incubator-apisix/issues/1076 All the common loggers (tcp/http) need a common Queue implementation to send the aggregated logs in a batch. Queue:new(fun, config){

[GitHub] [incubator-apisix] foxhk commented on issue #1074: bug: module apisix.balancer not found

2020-01-16 Thread GitBox
foxhk commented on issue #1074: bug: module apisix.balancer not found URL: https://github.com/apache/incubator-apisix/issues/1074#issuecomment-575501891 Solving steps: ``` make stop make clean rm -rf deps groupadd apisix && useradd -g apisix apisix && passwd apisix mv

[GitHub] [incubator-apisix] yangyitl commented on issue #1058: bug: apisixe start fail

2020-01-16 Thread GitBox
yangyitl commented on issue #1058: bug: apisixe start fail URL: https://github.com/apache/incubator-apisix/issues/1058#issuecomment-575503953 > How did you install the APISIX? please provide more install details.

[GitHub] [incubator-apisix] foxhk opened a new issue #1074: bug: module apisix.balancer not found

2020-01-16 Thread GitBox
foxhk opened a new issue #1074: bug: module apisix.balancer not found URL: https://github.com/apache/incubator-apisix/issues/1074 ### Issue description 2020/01/17 09:44:47 [error] 10554#10554: init_worker_by_lua error: /root/apache-apisix-1.0-incubating/lua/apisix.lua:74: module

[GitHub] [incubator-apisix] qiujiayu opened a new pull request #1075: ignore idea files

2020-01-16 Thread GitBox
qiujiayu opened a new pull request #1075: ignore idea files URL: https://github.com/apache/incubator-apisix/pull/1075 ignore idea files This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
membphis commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367753240 ## File path: lua/apisix/plugins/udp-logger.lua ## @@ -0,0 +1,83 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] sshniro commented on issue #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
sshniro commented on issue #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#issuecomment-575447317 @membphis The following is the final log sent to the server. ```json { "upstream": "127.0.0.1:80", "start_time": 1579231324391,

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
membphis commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367749246 ## File path: lua/apisix/plugins/udp-logger.lua ## @@ -0,0 +1,83 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
membphis commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367749155 ## File path: lua/apisix/plugins/udp-logger.lua ## @@ -0,0 +1,83 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] sshniro commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
sshniro commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367751505 ## File path: lua/apisix/plugins/udp-logger.lua ## @@ -0,0 +1,83 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] foxhk commented on issue #1074: bug: module apisix.balancer not found

2020-01-16 Thread GitBox
foxhk commented on issue #1074: bug: module apisix.balancer not found URL: https://github.com/apache/incubator-apisix/issues/1074#issuecomment-575498733 Thx, that's right way. This is an automated message from the Apache

[GitHub] [incubator-apisix] foxhk closed issue #1074: bug: module apisix.balancer not found

2020-01-16 Thread GitBox
foxhk closed issue #1074: bug: module apisix.balancer not found URL: https://github.com/apache/incubator-apisix/issues/1074 This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [incubator-apisix] foxhk edited a comment on issue #1074: bug: module apisix.balancer not found

2020-01-16 Thread GitBox
foxhk edited a comment on issue #1074: bug: module apisix.balancer not found URL: https://github.com/apache/incubator-apisix/issues/1074#issuecomment-575501891 Solving steps: ``` #In apache-apisix-1.0-incubating/ dir make stop make clean rm -rf deps groupadd apisix &&

[GitHub] [incubator-apisix] membphis commented on issue #1073: request help: allocation upstream and service

2020-01-16 Thread GitBox
membphis commented on issue #1073: request help: allocation upstream and service URL: https://github.com/apache/incubator-apisix/issues/1073#issuecomment-575434472 Please take a look at this doc: https://github.com/apache/incubator-apisix/blob/master/doc/admin-api-cn.md#route

[GitHub] [incubator-apisix] membphis commented on issue #1072: bug: dashboard can't add upstream

2020-01-16 Thread GitBox
membphis commented on issue #1072: bug: dashboard can't add upstream URL: https://github.com/apache/incubator-apisix/issues/1072#issuecomment-575403200 you need to use the latest version of APISIX. This is an automated

[GitHub] [incubator-apisix] membphis closed issue #1072: bug: dashboard can't add upstream

2020-01-16 Thread GitBox
membphis closed issue #1072: bug: dashboard can't add upstream URL: https://github.com/apache/incubator-apisix/issues/1072 This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [incubator-apisix] qiujiayu commented on a change in pull request #1071: get correct 'apisix_home' in any path excute './apisix start'

2020-01-16 Thread GitBox
qiujiayu commented on a change in pull request #1071: get correct 'apisix_home' in any path excute './apisix start' URL: https://github.com/apache/incubator-apisix/pull/1071#discussion_r367731403 ## File path: .gitignore ## @@ -54,3 +54,5 @@ proxy_temp fastcgi_temp

[GitHub] [incubator-apisix] leehomewl opened a new issue #1073: request help: allocation upstream and service

2020-01-16 Thread GitBox
leehomewl opened a new issue #1073: request help: allocation upstream and service URL: https://github.com/apache/incubator-apisix/issues/1073 ### Issue description 1 api管理中只有 route的, 我没有找到 api 管理中有可以直接 添加upstream 和 service的 。 有办法可以直接通过api 只添加upstream 和service

[GitHub] [incubator-apisix] sshniro commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
sshniro commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367727549 ## File path: lua/apisix/plugins/udp-logger.lua ## @@ -0,0 +1,87 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] membphis commented on issue #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
membphis commented on issue #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#issuecomment-575402718 ``` t/admin/plugins.t .. 1/? # Failed test 'TEST 1: get plugins' name - response_body_like - response is expected

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1070: Adding UDP logger plugin

2020-01-16 Thread GitBox
membphis commented on a change in pull request #1070: Adding UDP logger plugin URL: https://github.com/apache/incubator-apisix/pull/1070#discussion_r367731644 ## File path: lua/apisix/plugins/udp-logger.lua ## @@ -0,0 +1,87 @@ +-- +-- Licensed to the Apache Software

[GitHub] [incubator-apisix] membphis closed issue #1073: request help: allocation upstream and service

2020-01-16 Thread GitBox
membphis closed issue #1073: request help: allocation upstream and service URL: https://github.com/apache/incubator-apisix/issues/1073 This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [incubator-apisix] qiujiayu closed pull request #1071: get correct 'apisix_home' in any path excute './apisix start'

2020-01-16 Thread GitBox
qiujiayu closed pull request #1071: get correct 'apisix_home' in any path excute './apisix start' URL: https://github.com/apache/incubator-apisix/pull/1071 This is an automated message from the Apache Git Service. To

[GitHub] [incubator-apisix] membphis commented on issue #1071: get correct 'apisix_home' in any path excute './apisix start'

2020-01-16 Thread GitBox
membphis commented on issue #1071: get correct 'apisix_home' in any path excute './apisix start' URL: https://github.com/apache/incubator-apisix/pull/1071#issuecomment-575402001 you can not start the APISIX with `./apisix start`. it means to start the APISIX with current folder. but

[GitHub] [incubator-apisix] membphis commented on issue #1058: bug: apisixe start fail

2020-01-16 Thread GitBox
membphis commented on issue #1058: bug: apisixe start fail URL: https://github.com/apache/incubator-apisix/issues/1058#issuecomment-575402268 @moonming please take a look This is an automated message from the Apache Git

[GitHub] [incubator-apisix] moonming commented on a change in pull request #1071: get correct 'apisix_home' in any path excute './apisix start'

2020-01-16 Thread GitBox
moonming commented on a change in pull request #1071: get correct 'apisix_home' in any path excute './apisix start' URL: https://github.com/apache/incubator-apisix/pull/1071#discussion_r367384830 ## File path: .gitignore ## @@ -54,3 +54,5 @@ proxy_temp fastcgi_temp

[GitHub] [incubator-apisix] qiujiayu opened a new pull request #1071: get correct 'apisix_home' in any path excute './apisix start'

2020-01-16 Thread GitBox
qiujiayu opened a new pull request #1071: get correct 'apisix_home' in any path excute './apisix start' URL: https://github.com/apache/incubator-apisix/pull/1071 use './apisix start' command start APISIX,the value of 'apisix_home' variable is not right.