[jira] [Commented] (SCB-391) SC does not rotate log file

2018-03-13 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/SCB-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16396680#comment-16396680
 ] 

ASF GitHub Bot commented on SCB-391:


asifdxtreme closed pull request #304: SCB-391 SC does not rotate log file
URL: https://github.com/apache/incubator-servicecomb-service-center/pull/304
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/scripts/release/start_scripts/linux/start-service-center.sh 
b/scripts/release/start_scripts/linux/start-service-center.sh
index 758f07ba..336bed85 100644
--- a/scripts/release/start_scripts/linux/start-service-center.sh
+++ b/scripts/release/start_scripts/linux/start-service-center.sh
@@ -15,4 +15,12 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+set -e
+
+root_path=$(cd "$(dirname "$0")"; pwd)
+
+cd ${root_path}
+
+sed -i "s|^runmode.*=.*$|runmode = prod|g" conf/app.conf
+
 ./service-center > start-sc.log 2>&1 &


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> SC does not rotate log file
> ---
>
> Key: SCB-391
> URL: https://issues.apache.org/jira/browse/SCB-391
> Project: Apache ServiceComb
>  Issue Type: Bug
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
> Fix For: service-center-1.0.0-m2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-391) SC does not rotate log file

2018-03-13 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/SCB-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16396648#comment-16396648
 ] 

ASF GitHub Bot commented on SCB-391:


codecov-io commented on issue #304: SCB-391 SC does not rotate log file
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/304#issuecomment-372233639
 
 
   # 
[Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=h1)
 Report
   > Merging 
[#304](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=desc)
 into 
[master](https://codecov.io/gh/apache/incubator-servicecomb-service-center/commit/bfe06665e640d4473ef68e54671d395e4f7ca3f6?src=pr=desc)
 will **decrease** coverage by `0.54%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304/graphs/tree.svg?height=150=650=GAaF7zrg8R=pr)](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=tree)
   
   ```diff
   @@Coverage Diff @@
   ##   master #304  +/-   ##
   ==
   - Coverage   70.39%   69.84%   -0.55% 
   ==
 Files  17   17  
 Lines3455 3455  
   ==
   - Hits 2432 2413  -19 
   - Misses853  872  +19 
 Partials  170  170
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=tree)
 | Coverage Δ | |
   |---|---|---|
   | 
[server/service/util/dependency.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304/diff?src=pr=tree#diff-c2VydmVyL3NlcnZpY2UvdXRpbC9kZXBlbmRlbmN5Lmdv)
 | `54.82% <0%> (-2.96%)` | :arrow_down: |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=footer).
 Last update 
[bfe0666...c52afc5](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> SC does not rotate log file
> ---
>
> Key: SCB-391
> URL: https://issues.apache.org/jira/browse/SCB-391
> Project: Apache ServiceComb
>  Issue Type: Bug
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
> Fix For: service-center-1.0.0-m2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-391) SC does not rotate log file

2018-03-13 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/SCB-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16396647#comment-16396647
 ] 

ASF GitHub Bot commented on SCB-391:


coveralls commented on issue #304: SCB-391 SC does not rotate log file
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/304#issuecomment-372233609
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/15944309/badge)](https://coveralls.io/builds/15944309)
   
   Coverage decreased (-0.4%) to 73.556% when pulling 
**c52afc5598357319e34b3c50e3cf52e22ac036f2 on little-cui:SCB-391** into 
**bfe06665e640d4473ef68e54671d395e4f7ca3f6 on apache:master**.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> SC does not rotate log file
> ---
>
> Key: SCB-391
> URL: https://issues.apache.org/jira/browse/SCB-391
> Project: Apache ServiceComb
>  Issue Type: Bug
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
> Fix For: service-center-1.0.0-m2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-391) SC does not rotate log file

2018-03-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/SCB-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16394959#comment-16394959
 ] 

ASF GitHub Bot commented on SCB-391:


coveralls commented on issue #304: SCB-391 SC does not rotate log file
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/304#issuecomment-372233609
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/15923047/badge)](https://coveralls.io/builds/15923047)
   
   Coverage increased (+0.1%) to 74.063% when pulling 
**545e00756418fd62b407576bb7da4dfff9285898 on little-cui:SCB-391** into 
**bfe06665e640d4473ef68e54671d395e4f7ca3f6 on apache:master**.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> SC does not rotate log file
> ---
>
> Key: SCB-391
> URL: https://issues.apache.org/jira/browse/SCB-391
> Project: Apache ServiceComb
>  Issue Type: Bug
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
> Fix For: service-center-1.0.0-m2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-391) SC does not rotate log file

2018-03-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/SCB-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16394960#comment-16394960
 ] 

ASF GitHub Bot commented on SCB-391:


codecov-io commented on issue #304: SCB-391 SC does not rotate log file
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/304#issuecomment-372233639
 
 
   # 
[Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=h1)
 Report
   > Merging 
[#304](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=desc)
 into 
[master](https://codecov.io/gh/apache/incubator-servicecomb-service-center/commit/bfe06665e640d4473ef68e54671d395e4f7ca3f6?src=pr=desc)
 will **not change** coverage.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304/graphs/tree.svg?width=650=pr=GAaF7zrg8R=150)](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=tree)
   
   ```diff
   @@   Coverage Diff   @@
   ##   master #304   +/-   ##
   ===
 Coverage   70.39%   70.39%   
   ===
 Files  17   17   
 Lines3455 3455   
   ===
 Hits 2432 2432   
 Misses853  853   
 Partials  170  170
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=tree)
 | Coverage Δ | |
   |---|---|---|
   | 
[server/service/tag.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304/diff?src=pr=tree#diff-c2VydmVyL3NlcnZpY2UvdGFnLmdv)
 | `75.43% <0%> (-0.59%)` | :arrow_down: |
   | 
[server/service/rule.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304/diff?src=pr=tree#diff-c2VydmVyL3NlcnZpY2UvcnVsZS5nbw==)
 | `77.25% <0%> (+0.42%)` | :arrow_up: |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=footer).
 Last update 
[bfe0666...545e007](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/304?src=pr=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> SC does not rotate log file
> ---
>
> Key: SCB-391
> URL: https://issues.apache.org/jira/browse/SCB-391
> Project: Apache ServiceComb
>  Issue Type: Bug
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
> Fix For: service-center-1.0.0-m2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-391) SC does not rotate log file

2018-03-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/SCB-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16394951#comment-16394951
 ] 

ASF GitHub Bot commented on SCB-391:


little-cui opened a new pull request #304: SCB-391 SC does not rotate log file
URL: https://github.com/apache/incubator-servicecomb-service-center/pull/304
 
 
   Follow this checklist to help us incorporate your contribution quickly and 
easily:
   
- [ ] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/browse/SCB) filed for the change (usually 
before you start working on it).  Trivial changes like typos do not require a 
JIRA issue.  Your pull request should address just this issue, without pulling 
in other changes.
- [ ] Each commit in the pull request should have a meaningful subject line 
and body.
- [ ] Format the pull request title like `[SCB-XXX] Fixes bug in 
ApproximateQuantiles`, where you replace `SCB-XXX` with the appropriate JIRA 
issue.
- [ ] Write a pull request description that is detailed enough to 
understand what the pull request does, how, and why.
- [ ] Run `go build` `go test` `go fmt` `go vet` to make sure basic checks 
pass. A more thorough check will be performed on your pull request 
automatically.
- [ ] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   ---
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> SC does not rotate log file
> ---
>
> Key: SCB-391
> URL: https://issues.apache.org/jira/browse/SCB-391
> Project: Apache ServiceComb
>  Issue Type: Bug
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
> Fix For: service-center-1.0.0-m2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)