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

Unified Diff: remoting/host/constants_mac.cc

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/constants_mac.cc
===================================================================
--- remoting/host/constants_mac.cc (revision 181302)
+++ remoting/host/constants_mac.cc (working copy)
@@ -12,6 +12,8 @@
#define HELPER_TOOLS_DIR "/Library/PrivilegedHelperTools/"
#define LAUNCH_AGENTS_DIR "/Library/LaunchAgents/"
#define PREFERENCE_PANES_DIR "/Library/PreferencePanes/"
+#define LOG_DIR "/var/log/"
+#define LOG_CONFIG_DIR "/etc/newsyslog.d/"
const char kServiceName[] = SERVICE_NAME;
@@ -31,6 +33,9 @@
const char kServicePlistPath[] = LAUNCH_AGENTS_DIR SERVICE_NAME ".plist";
+const char kLogFilePath[] = LOG_DIR SERVICE_NAME ".log";
+const char kLogFileConfigPath[] = LOG_CONFIG_DIR SERVICE_NAME ".conf";
+
const char kBrandedUninstallerPath[] = APPLICATIONS_DIR
"Chrome Remote Desktop Host Uninstaller.app";
const char kUnbrandedUninstallerPath[] = APPLICATIONS_DIR

Powered by Google App Engine
This is Rietveld 408576698