Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #2818: Do not write rewards logs to disk (#2820)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson authored Aug 17, 2020
1 parent 1409a8f commit 4e9dc0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shared/Logger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public extension Logger {

/// Logger used for things recorded on BraveRewards framework.
static let rewardsLogger: RollingFileLogger = {
let logger = RollingFileLogger(filenameRoot: "rewards", logDirectoryPath: Logger.logFileDirectoryPath())
let logger = RollingFileLogger(filenameRoot: "rewards", logDirectoryPath: nil)
logger.identifier = "BraveRewards"
logger.newLogWithDate(Date(), configureDestination: { destination in
// Same as debug log, Rewards framework handles function names in message
Expand Down

0 comments on commit 4e9dc0f

Please sign in to comment.