Comments (4)
@maciejburda Thanks for the swift Reply. I have updated the token with a random string and not the actual ones, so no security issues.
Also want to let you know that this issue was noted in latest release 2.7.0. Out of curiosity I downgraded to 2.5.1 and it worked without any errors.
from dd-sdk-ios.
@rajtharan-allen Thank you for posting the issue. I will look into it shorty.
In the meantime I am afraid that you have accidentally exposed your client token in the original message. I removed it from the content, but it's still available in the history. I need to advice you to revoke it, in order to mitigate the potential security risk.
from dd-sdk-ios.
I double checked your configuration and it looks like you're missing Logs.enable()
configuration call before creating a logger. You should be able to fix your issue by adding this line here:
Datadog.initialize(
with: Datadog.Configuration(
clientToken: "clientToken",
env: "test-logger",
site: .us1
),
trackingConsent: .granted
)
// Logs feature needs to be enabled independently as it requires extra configuration properties.
// Here we're relying on default values for simplicity.
Logs.enable()
let logger = Logger.create(
with: Logger.Configuration(
service: "ios-sdk-example-app",
name: "logger name",
networkInfoEnabled: true,
remoteSampleRate: 100,
consoleLogFormat: .shortWith(prefix: "[iOS App] ")
)
)
logger.error("ios error
More info in the docs
from dd-sdk-ios.
@rajtharan-allen Please let us know if it solved your issue :)
from dd-sdk-ios.
Related Issues (20)
- Adding request-based tags to url session spans HOT 4
- VisionOS Support HOT 7
- [Missing Properties] Privacy Manifest, unable to generate privacy report HOT 1
- No Batches are uploaded when using SDK version 2.7.0 HOT 7
- [Crash] closure #1 in closure #1 in UIApplicationSwizzler.SendEvent.swizzle() HOT 3
- Metrics SDK - How to send measures and counters using the iOS SDK? HOT 1
- Privacy manifest causing collisions through CocoaPods HOT 1
- Background sessions are reported at SwiftUI project HOT 6
- Mobile Session Replay: "Session replay not available" HOT 3
- `RUM.ResourceAttributesProvider` not providing `data` information in URLSession tracking HOT 3
- Regular Logs not flushable HOT 2
- Crash on widget extension HOT 13
- Provide a boolean flag in configuration that enables batch upload even in low power mode HOT 4
- Missing crashes when tracking consent is pending HOT 6
- Can we use Head-based sampling on iOS? HOT 3
- iOS Kotlin Multiplatform hang after crash when using DatadogCrashReporting as a result of PLCrashReporter HOT 1
- If consent is not granted, I can't send any traces, even those without any user information. HOT 4
- Unable to use swift-api-digester when Datadog is a dependency HOT 4
- crash in KronosNTPPacket.prepareToSend(transmitTime:) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dd-sdk-ios.