google-nomulus/java/google/registry
jianglai 0e64015cdf Improve logs in the GCP proxy
Tweaked a few logging levels to not spam error level logs. Also make it easy to debug issues in case relay retry fails.

[1] Put non-fatal exceptions that should be logged at warning in their explicit sets. Also always use the root cause to determine if an exception is non-fatal, because sometimes the actual causes are wrapped inside other exceptions.

[2] Record the cause of a relay failure, and record if a relay retry is successful. This way we can look at the log and figure out if a relay is eventually successful.

[3] Add a log when the frontend connection from the client is terminated.

[4] Alway close the relay channel when a relay has failed, which, depend on if the channel is frontend or backend, will reconnect and trigger a retry.

[5] Lastly changed failure test to use assertThrows instead of fail.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=208649916
2018-08-20 13:58:30 -04:00
..
backup Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
batch Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
beam Add GenerateSpec11Action and SafeBrowsing evaluation 2018-08-10 13:46:48 -04:00
bigquery Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
builddefs Remove the deprecated, now no-op, "data" transition 2018-08-10 13:44:25 -04:00
config Add GenerateSpec11Action and SafeBrowsing evaluation 2018-08-10 13:46:48 -04:00
cron Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
dns Add feature to disable --experimental_java_proto_library_enforce_strict_deps for 2018-08-10 13:44:25 -04:00
env Add GenerateSpec11Action and SafeBrowsing evaluation 2018-08-10 13:46:48 -04:00
export Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
flows Sanitize EPP XML requests and responses 2018-08-10 13:46:48 -04:00
gcs Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
groups Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
idn Update IDN tables to comply with https://www.iana.org/help/idn-repository-procedure 2018-02-01 21:59:14 -05:00
keyring Add GenerateSpec11Action and SafeBrowsing evaluation 2018-08-10 13:46:48 -04:00
loadtest Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
mapreduce Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
model Add domain name support to AllocationToken entities 2018-08-10 13:46:48 -04:00
module Add GenerateSpec11Action and SafeBrowsing evaluation 2018-08-10 13:46:48 -04:00
monitoring/whitebox Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
pricing Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
proxy Improve logs in the GCP proxy 2018-08-20 13:58:30 -04:00
rdap Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
rde Move the RDE TAR file encoding to a dedicated file 2018-08-10 13:46:48 -04:00
reporting Add GenerateSpec11Action and SafeBrowsing evaluation 2018-08-10 13:46:48 -04:00
request Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
security Improve internal build system speed 2018-06-27 15:28:52 -04:00
storage/drive Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
tldconfig/idn Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
tmch Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
tools Increase default allocation token length to 16 2018-08-10 13:46:48 -04:00
ui Update Nomulus to build with bazel 0.16.0 2018-08-10 13:46:48 -04:00
util Move the RDE TAR file encoding to a dedicated file 2018-08-10 13:46:48 -04:00
whois Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
xjc Run bazel installer as a argument to bash 2018-08-10 13:44:25 -04:00
xml Pretty-print actual XML in tests 2018-07-14 01:37:03 -04:00
BUILD Remove most HTML/CSS/JS assets from the backend service WAR 2018-06-27 15:28:53 -04:00
repositories.bzl Remove references to stale domain-registry GCS repo 2018-08-10 16:01:51 -04:00