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

Side by Side Diff: remoting/host/logging_linux.cc

Issue 1073883002: Change logging to syslog; fix CRD in Yosemite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/logging.h" 5 #include "remoting/host/logging.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace remoting { 9 namespace remoting {
10 10
11 void InitHostLogging() { 11 void InitHostLogging() {
12 // Write logs to the system debug log. 12 // Write logs to the system debug log.
13 logging::LoggingSettings settings; 13 logging::LoggingSettings settings;
14 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; 14 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG;
15 logging::InitLogging(settings); 15 logging::InitLogging(settings);
16 } 16 }
17 17
18 } // namespace remoting 18 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/installer/mac/Scripts/remoting_postflight.sh ('k') | remoting/host/logging_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698