Closed hohoins closed 1 month ago
@hohoins Are you currently utilizing our Logs API for transmitting logs? Please note that our existing Logs API supports TLS 1.2. We're excited to announce plans to incorporate logs functionality for mobile in the next quarter. As developments unfold and this feature becomes available, we will provide updates here.
@hohoins Are you currently utilizing our Logs API for transmitting logs? Please note that our existing Logs API supports TLS 1.2. We're excited to announce plans to incorporate logs functionality for mobile in the next quarter. As developments unfold and this feature becomes available, we will provide updates here.
Thank you very much for your reply. 👍👍👍👍👍
What I understand is below:
Then, we will wait for the log message sending function to be added in the next quarter. thank you 🙇🙇🙇
@hohoins we are automatically collected print statement as custom event ,you can do query using this *SELECT FROM Mobile Dart Console Events
SINCE 30 MINUTES AGO**
@hohoins we are automatically collected print statement as custom event ,you can do query using this *SELECT FROM
Mobile Dart Console Events
SINCE 30 MINUTES AGO**
Does this mean that logs are automatically collected when using 'NewrelicMobile.instance.recordCustomEvent()'? After this, I can check using the query 'SELECT * FROM Mobile Dart Console Events SINCE 30 MINUTES AGO'. I couldn't check the log using recordCustomEvent().
I was able to check the log when I directly called 'https://log-api.newrelic.com/log/v1.'
"plans to incorporate logs functionality for mobile in the next quarter." I look forward to the rapid integration of the LOG API into the newRelic mobile sdk.
thank you
yes, if you are using print statement anywhere in the flutter, we will automatically collected those statement as logs.
@hohoins We're excited to announce the release of mobile logs for our Flutter agent. You can now enable this feature in your application settings page on the New Relic platform. This new capability allows you to capture and analyze logs directly from your Flutter mobile applications, providing deeper insights into your app's behavior. To enable mobile logs:
If you have any questions about this new feature or need assistance enabling it, please don't hesitate to reach out to our support team. We're here to help you make the most of this powerful new tool.
@hohoins We're excited to announce the release of mobile logs for our Flutter agent. You can now enable this feature in your application settings page on the New Relic platform. This new capability allows you to capture and analyze logs directly from your Flutter mobile applications, providing deeper insights into your app's behavior. To enable mobile logs:
- Log into your New Relic account
- Navigate to your application settings page for mobile apps
- Look for the mobile logs option
- Enable the feature
If you have any questions about this new feature or need assistance enabling it, please don't hesitate to reach out to our support team. We're here to help you make the most of this powerful new tool.
I'll check it out. Thank you. 👍👍👍👍👍👍👍👍👍
@ndesai-newrelic
Thank you very much. 👍👍👍👍👍
I am trying to apply the API transmission function to the product. flutter package newrelic_mobile: 1.1.1 I checked the log function. The result is that the log is recorded normally.
If the log cannot be sent due to network blocking, etc., it is temporarily stored and then transmitted to the server, right? I asked a question for confirmation.
The result I checked is that when the device's newtwork is turned off, if the log API is called, it is stored as permanent data and the log is transmitted when the network is turned on again.
@hohoins it will record the log even if application does not have network.
@ndesai-newrelic
Logs are not recorded on NewRelic using newrelic_mobile: ^1.1.3
and tested using iPhone Simulator
Here is my NewRelic init:
Config config = Config(accessToken: appToken);
runZonedGuarded(() async {
WidgetsFlutterBinding.ensureInitialized();
FlutterError.onError = NewrelicMobile.onError;
await NewrelicMobile.instance.startAgent(config);
runApp(const MyApp());
}, (Object error, StackTrace stackTrace) {
NewrelicMobile.instance.recordError(error, stackTrace);
});
and here is I used for logging:
NewrelicMobile.instance.logInfo('Navigate to: $_currentIndex');
I noticed that .logInfo
using print()
statement so I assumed it will be recorded to NewRelic. Is there anything I missed?
@ndesai-newrelic Logs are not recorded on NewRelic using
newrelic_mobile: ^1.1.3
and tested using iPhone SimulatorHere is my NewRelic init:
Config config = Config(accessToken: appToken); runZonedGuarded(() async { WidgetsFlutterBinding.ensureInitialized(); FlutterError.onError = NewrelicMobile.onError; await NewrelicMobile.instance.startAgent(config); runApp(const MyApp()); }, (Object error, StackTrace stackTrace) { NewrelicMobile.instance.recordError(error, stackTrace); });
and here is I used for logging:
NewrelicMobile.instance.logInfo('Navigate to: $_currentIndex');
I noticed that.logInfo
usingprint()
statement so I assumed it will be recorded to NewRelic. Is there anything I missed?
Have you enabled the logging feature for the entity? Application> Mobile Logs> switch on
OK my bad it's not enabled on my Settings. I assumed my issue is resolved. thanks for your support!
I am unable to send logs using the NewRelic Mobile SDK. Does NewRelic Mobile SDK support sending custom text message logs? I couldn't find the log transfer API in the sdk. I wonder how I can transmit log messages.
exaple log