diff --git a/brightray/browser/browser_main_parts.cc b/brightray/browser/browser_main_parts.cc index 47a0e9df1e3b..9bf2e104a949 100644 --- a/brightray/browser/browser_main_parts.cc +++ b/brightray/browser/browser_main_parts.cc @@ -98,11 +98,11 @@ void OverrideLinuxAppDataPath() { void OverrideLinuxAppLogsPath() { std::string appName = GetApplicationName(); - std::string logPath = "/var/log" + std::string logPath = "/var/log"; - std::string appLogPath = logPath + appName + std::string appLogPath = logPath + appName; - PathService::Override(DIR_APP_DATA, base::FilePath(appLogPath)); + PathService::Override(DIR_APP_LOGS base::FilePath(appLogPath)); } int BrowserX11ErrorHandler(Display* d, XErrorEvent* error) {