mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-39320 Switch all IntelliJ recorders to UTF-8 in field values
Disable character escaping for FUS recorder GitOrigin-RevId: e69dc5bc3445c6d7a57151beda29be2a88ae40db
This commit is contained in:
committed by
intellij-monorepo-bot
parent
771364b2e4
commit
4a00dbd491
+1
-1
@@ -171,7 +171,7 @@ abstract class StatisticsEventLoggerProvider(val recorderId: String,
|
||||
* */
|
||||
abstract class StatisticsEventLoggerProviderExt(recorderId: String, version: Int, sendFrequencyMs: Long,
|
||||
maxFileSizeInBytes: Int, sendLogsOnIdeClose: Boolean = false) :
|
||||
StatisticsEventLoggerProvider(recorderId, version, sendFrequencyMs, maxFileSizeInBytes, sendLogsOnIdeClose) {
|
||||
StatisticsEventLoggerProvider(recorderId, version, sendFrequencyMs, maxFileSizeInBytes, sendLogsOnIdeClose, false) {
|
||||
override fun isLoggingAlwaysActive(): Boolean = StatisticsEventLogProviderUtil.forceLoggingAlwaysEnabled()
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -12,7 +12,11 @@ import com.intellij.util.PlatformUtils
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
internal class FeatureUsageEventLoggerProvider : StatisticsEventLoggerProviderExt(
|
||||
"FUS", 75, sendFrequencyMs = TimeUnit.MINUTES.toMillis(15), DEFAULT_MAX_FILE_SIZE_BYTES, sendLogsOnIdeClose = true) {
|
||||
recorderId = "FUS",
|
||||
version = 76,
|
||||
sendFrequencyMs = TimeUnit.MINUTES.toMillis(15),
|
||||
maxFileSizeInBytes = DEFAULT_MAX_FILE_SIZE_BYTES,
|
||||
sendLogsOnIdeClose = true) {
|
||||
|
||||
override fun isRecordEnabled(): Boolean {
|
||||
return !ApplicationManager.getApplication().isUnitTestMode &&
|
||||
|
||||
Reference in New Issue
Block a user