diff options
author | dcaiafa <dcaiafa@chromium.org> | 2015-04-09 18:07:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-10 01:08:22 +0000 |
commit | 25cef11863014bc8ff4a8ff16d8570ad9c62bedc (patch) | |
tree | 9f4b2132900aee0e7e054a2f353353be3533c9f2 /remoting/remoting_host_mac.gypi | |
parent | 3e7d0b1ed55adb4c483edefcf0802b334e732316 (diff) | |
download | chromium_src-25cef11863014bc8ff4a8ff16d8570ad9c62bedc.zip chromium_src-25cef11863014bc8ff4a8ff16d8570ad9c62bedc.tar.gz chromium_src-25cef11863014bc8ff4a8ff16d8570ad9c62bedc.tar.bz2 |
Change logging to use syslog; fix CRD in Yosemite
Have the Chromoting host write logs to syslog. This works around the
issue where, in some Yosemite configurations, launchd fails to start the
agent if the user running the agent does not have write access to the
log or the log's directory.
Logging to syslog has additional advantages such as:
- Log rotation and overflow are now managed by the system.
- Messages are read-restricted to the user running the agent.
After this change, logs will no longer be stored in
/var/log/org.chromium.chromoting.log. To obtain logs, use the following
command:
sudo syslog -k Facility org.chromium.chromoting
If 'sudo' is omitted, messages logged in the login screen (while the
agent is running as root) will not be available.
N.B. The changes to ChromotingHostService.pkgproj were made using the 'Packages'
program. To test the changes, I built and installed a .dmg from scratch.
BUG=468121
Review URL: https://codereview.chromium.org/1073883002
Cr-Commit-Position: refs/heads/master@{#324550}
Diffstat (limited to 'remoting/remoting_host_mac.gypi')
-rw-r--r-- | remoting/remoting_host_mac.gypi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/remoting/remoting_host_mac.gypi b/remoting/remoting_host_mac.gypi index 6e68e73..064d86b 100644 --- a/remoting/remoting_host_mac.gypi +++ b/remoting/remoting_host_mac.gypi @@ -16,7 +16,6 @@ 'host/installer/mac/ChromotingHostUninstaller.pkgproj', 'host/installer/mac/LaunchAgents/org.chromium.chromoting.plist', 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh', - 'host/installer/mac/Config/org.chromium.chromoting.conf', 'host/installer/mac/Scripts/keystone_install.sh', 'host/installer/mac/Scripts/remoting_postflight.sh', 'host/installer/mac/Scripts/remoting_preflight.sh', |