Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 2d1a3b7c249dca496079ae9f3e490cd25bbac52f..2214045a429c10f2d372e0ae16f62e825a5086ed 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -800,6 +800,7 @@ bool HostProcess::OnUsernamePolicyUpdate(bool host_username_match_required) { |
#endif |
if (shutdown) { |
+ LOG(ERROR) << "The host username does not match."; |
ShutdownHost(kUsernameMismatchExitCode); |
} |
} else { |
@@ -840,6 +841,8 @@ bool HostProcess::OnCurtainPolicyUpdate(bool curtain_required) { |
// TODO(jamiewalch): Fix this once we have implemented the multi-process |
// daemon architecture (crbug.com/134894) |
if (getuid() == 0) { |
+ LOG(ERROR) << "Running the host in the console login session is yet not " |
+ "supported."; |
ShutdownHost(kLoginScreenNotSupportedExitCode); |
return false; |
} |
@@ -848,9 +851,9 @@ bool HostProcess::OnCurtainPolicyUpdate(bool curtain_required) { |
if (curtain_required_ != curtain_required) { |
if (curtain_required) |
- LOG(ERROR) << "Policy requires curtain-mode."; |
+ LOG(INFO) << "Policy requires curtain-mode."; |
else |
- LOG(ERROR) << "Policy does not require curtain-mode."; |
+ LOG(INFO) << "Policy does not require curtain-mode."; |
curtain_required_ = curtain_required; |
if (curtaining_host_observer_) |
curtaining_host_observer_->SetEnableCurtaining(curtain_required_); |