Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Unified Diff: remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh

Issue 12213059: Direct host output to a specific log file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
===================================================================
--- remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh (revision 181302)
+++ remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh (working copy)
@@ -101,7 +101,7 @@
"$EXIT_CODE" -eq "$PERMISSION_DENIED_PARENTAL_CONTROL" ||
("$EXIT_CODE" -ge "$MIN_PERMANENT_ERROR_EXIT_CODE" && \
"$EXIT_CODE" -le "$MAX_PERMANENT_ERROR_EXIT_CODE") ]]; then
- echo "Host returned permanent exit code $EXIT_CODE"
+ echo "Host returned permanent exit code $EXIT_CODE at ""$(date)"""
if [[ "$EXIT_CODE" -eq 101 ]]; then
# Exit code 101 is "hostID deleted", which indicates that the host
# was taken off-line remotely. To prevent the host being restarted
@@ -118,7 +118,7 @@
# signals temporarily in case the script has to sleep to throttle host
# relaunches. While throttling, there is no host process to which to
# forward the signal, so the default behaviour should be restored.
- echo "Host returned non-permanent exit code $EXIT_CODE"
+ echo "Host returned non-permanent exit code $EXIT_CODE at ""$(date)"""
trap - $SIGNAL_LIST
HOST_PID=0
break
@@ -153,6 +153,7 @@
cat 2>/dev/null || true
open "$PREF_PANE_BUNDLE"
elif [[ "$1" = "--run-from-launchd" ]]; then
+ echo Host started for user $USER at $"$(date)"
run_host
else
echo $$

Powered by Google App Engine
This is Rietveld 408576698