Re: Review Request 50301: Reduced logging verbosity for replicated log operations.

2016-07-31 Thread Anand Mazumdar


> On July 29, 2016, 6:48 p.m., Anand Mazumdar wrote:
> > src/log/recover.cpp, line 466
> > 
> >
> > hmm, why did you reduce the verbosity here?
> 
> Neil Conway wrote:
> Do you think that is important to log? Note that this doesn't indicate 
> anything unexpected has happened.

Ah, I see. Dropping this.


- Anand


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50301/#review144148
---


On July 27, 2016, 5:29 p.m., Neil Conway wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50301/
> ---
> 
> (Updated July 27, 2016, 5:29 p.m.)
> 
> 
> Review request for mesos and Anand Mazumdar.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Logging the duration required for each storage operation at `INFO` level
> is overkill for most people consuming the log.
> 
> 
> Diffs
> -
> 
>   src/log/leveldb.cpp f389d74b123574665c611b46cb52e3dc7042b331 
>   src/log/log.cpp f8e439fc756af05acb40878a9473c93c039c889e 
>   src/log/recover.cpp 69b5b28e5e680aa65a2166b06d3bdbd10c390903 
>   src/log/replica.cpp 45b77178fe93e26ae0ffde5ff0f02f36e5150bcb 
>   src/master/registrar.cpp 9d2f5580c7a8674f29b4c2be0142689f000d15a0 
> 
> Diff: https://reviews.apache.org/r/50301/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> Also visual inspection: ran a few `--verbose` test cases and checked that the 
> omitted information wasn't necessary/useful for understanding the replicated 
> log activity.
> 
> 
> Thanks,
> 
> Neil Conway
> 
>



Re: Review Request 50301: Reduced logging verbosity for replicated log operations.

2016-07-29 Thread Neil Conway


> On July 29, 2016, 6:48 p.m., Anand Mazumdar wrote:
> > src/log/recover.cpp, line 466
> > 
> >
> > hmm, why did you reduce the verbosity here?

Do you think that is important to log? Note that this doesn't indicate anything 
unexpected has happened.


- Neil


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50301/#review144148
---


On July 27, 2016, 5:29 p.m., Neil Conway wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50301/
> ---
> 
> (Updated July 27, 2016, 5:29 p.m.)
> 
> 
> Review request for mesos and Anand Mazumdar.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Logging the duration required for each storage operation at `INFO` level
> is overkill for most people consuming the log.
> 
> 
> Diffs
> -
> 
>   src/log/leveldb.cpp f389d74b123574665c611b46cb52e3dc7042b331 
>   src/log/log.cpp f8e439fc756af05acb40878a9473c93c039c889e 
>   src/log/recover.cpp 69b5b28e5e680aa65a2166b06d3bdbd10c390903 
>   src/log/replica.cpp 45b77178fe93e26ae0ffde5ff0f02f36e5150bcb 
>   src/master/registrar.cpp 9d2f5580c7a8674f29b4c2be0142689f000d15a0 
> 
> Diff: https://reviews.apache.org/r/50301/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> Also visual inspection: ran a few `--verbose` test cases and checked that the 
> omitted information wasn't necessary/useful for understanding the replicated 
> log activity.
> 
> 
> Thanks,
> 
> Neil Conway
> 
>



Re: Review Request 50301: Reduced logging verbosity for replicated log operations.

2016-07-29 Thread Anand Mazumdar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50301/#review144148
---


Fix it, then Ship it!





src/log/recover.cpp (line 466)


hmm, why did you reduce the verbosity here?


- Anand Mazumdar


On July 27, 2016, 5:29 p.m., Neil Conway wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50301/
> ---
> 
> (Updated July 27, 2016, 5:29 p.m.)
> 
> 
> Review request for mesos and Anand Mazumdar.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Logging the duration required for each storage operation at `INFO` level
> is overkill for most people consuming the log.
> 
> 
> Diffs
> -
> 
>   src/log/leveldb.cpp f389d74b123574665c611b46cb52e3dc7042b331 
>   src/log/log.cpp f8e439fc756af05acb40878a9473c93c039c889e 
>   src/log/recover.cpp 69b5b28e5e680aa65a2166b06d3bdbd10c390903 
>   src/log/replica.cpp 45b77178fe93e26ae0ffde5ff0f02f36e5150bcb 
>   src/master/registrar.cpp 9d2f5580c7a8674f29b4c2be0142689f000d15a0 
> 
> Diff: https://reviews.apache.org/r/50301/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> Also visual inspection: ran a few `--verbose` test cases and checked that the 
> omitted information wasn't necessary/useful for understanding the replicated 
> log activity.
> 
> 
> Thanks,
> 
> Neil Conway
> 
>



Re: Review Request 50301: Reduced logging verbosity for replicated log operations.

2016-07-27 Thread Neil Conway

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50301/
---

(Updated July 27, 2016, 5:29 p.m.)


Review request for mesos and Anand Mazumdar.


Changes
---

Tweak a few more log messages.


Repository: mesos


Description
---

Logging the duration required for each storage operation at `INFO` level
is overkill for most people consuming the log.


Diffs (updated)
-

  src/log/leveldb.cpp f389d74b123574665c611b46cb52e3dc7042b331 
  src/log/log.cpp f8e439fc756af05acb40878a9473c93c039c889e 
  src/log/recover.cpp 69b5b28e5e680aa65a2166b06d3bdbd10c390903 
  src/log/replica.cpp 45b77178fe93e26ae0ffde5ff0f02f36e5150bcb 
  src/master/registrar.cpp 9d2f5580c7a8674f29b4c2be0142689f000d15a0 

Diff: https://reviews.apache.org/r/50301/diff/


Testing
---

make check

Also visual inspection: ran a few `--verbose` test cases and checked that the 
omitted information wasn't necessary/useful for understanding the replicated 
log activity.


Thanks,

Neil Conway



Re: Review Request 50301: Reduced logging verbosity for replicated log operations.

2016-07-21 Thread Mesos ReviewBot

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50301/#review143150
---



Patch looks great!

Reviews applied: [50301]

Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' 
CONFIGURATION='--verbose' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; 
./support/docker_build.sh

- Mesos ReviewBot


On July 21, 2016, 4:26 p.m., Neil Conway wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50301/
> ---
> 
> (Updated July 21, 2016, 4:26 p.m.)
> 
> 
> Review request for mesos and Anand Mazumdar.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Logging the duration required for each storage operation at `INFO` level
> is overkill for most people consuming the log.
> 
> 
> Diffs
> -
> 
>   src/log/leveldb.cpp f389d74b123574665c611b46cb52e3dc7042b331 
>   src/log/log.cpp f8e439fc756af05acb40878a9473c93c039c889e 
>   src/log/replica.cpp 45b77178fe93e26ae0ffde5ff0f02f36e5150bcb 
>   src/master/registrar.cpp 9d2f5580c7a8674f29b4c2be0142689f000d15a0 
> 
> Diff: https://reviews.apache.org/r/50301/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> Also visual inspection: ran a few `--verbose` test cases and checked that the 
> omitted information wasn't necessary/useful for understanding the replicated 
> log activity.
> 
> 
> Thanks,
> 
> Neil Conway
> 
>



Review Request 50301: Reduced logging verbosity for replicated log operations.

2016-07-21 Thread Neil Conway

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50301/
---

Review request for mesos and Anand Mazumdar.


Repository: mesos


Description
---

Logging the duration required for each storage operation at `INFO` level
is overkill for most people consuming the log.


Diffs
-

  src/log/leveldb.cpp f389d74b123574665c611b46cb52e3dc7042b331 
  src/log/log.cpp f8e439fc756af05acb40878a9473c93c039c889e 
  src/log/replica.cpp 45b77178fe93e26ae0ffde5ff0f02f36e5150bcb 
  src/master/registrar.cpp 9d2f5580c7a8674f29b4c2be0142689f000d15a0 

Diff: https://reviews.apache.org/r/50301/diff/


Testing
---

make check

Also visual inspection: ran a few `--verbose` test cases and checked that the 
omitted information wasn't necessary/useful for understanding the replicated 
log activity.


Thanks,

Neil Conway