Can we see logs(info) of an ionic app in PROD? - ionic-framework

I search a way to see logs of an ionic application in PROD. I'm talking about logs info and not logs error (I know there are some platform which capture errors like Sentry). The goal is to have more data to solve issue i get in prod.
Thanks you.

Related

Flutter: FLog and Logger

I am new in flutter and I am building an app in flutter and looking for logging options. I know there are several logging packages available like logger and flog. These loggers logs in console, but how these can working in production. In production there is no console and how I can debug the app if I don't have access to log files. Do i need to store logs to local storage and have ability to export these files.
Please advise.
Thanks,
Check out Firebase Analytics which should allow you to collect logs on devices in production and view them from from the web console, along with a ton of other useful information.
https://firebase.flutter.dev/docs/analytics/overview

Refreshing Cloud Foundry app page on Bluemix "Stopped" the app

#ibm,
I observed the slowness while running the Cloud Foundry app on Bluemix. Sometimes, it gets really irritated so when I tried to refresh the app, it even stopped the app which was very frustrating. Could you please let us know the root cause of this and is there any way to avoid this in future ?
Refreshing the cloud Foundry page has nothing to do with crashing of your app. Could you please provide some more details like:
Functionality you are trying.
Deployment Approach.
Whether the application is Liberty Java, NodeJS or something else.
And lastly your application logs. If you cannot copy directly from the logs, you can use the Log Analysis Service to copy the logs.
NOTE: I should have added this as a comment but I am still 35 reputation short.

How to get details CAM logs

Sometimes the logs tab is empty and the instance creations fails bringing it to error state. How can i debug what went wrong and where? I am using Bluemix GUI to copy paste the terraform template.
Typically for a failed deployment in Cloud Automation Manager (CAM) you will see an error message in the deployment's Log File tab. However if you do not see anything on the Log File tab and did not receive an error message at time of deployment, first check the template formatting and then open a support ticket with IBM for further diagnosis. You can following the instructions at this link for contacting support.
https://console.bluemix.net/docs/services/CloudAutomationManager/cam_ts.html#ts_cam
The internal logs for Cloud Automation Manager will be reviewed by IBM support to help diagnose the issue. Thanks!
The CAM traouble shooting documentation is available here: https://console.bluemix.net/docs/services/CloudAutomationManager/cam_ts.html#ts_cam
I see that there some known issues with CAM. You can go through the troubleshooting guide and see if your error is one of the known issues. If not - they have provided instruction on how to contact support. I suggest you contact their support and seek help in getting the logs.

Bluemix IoT Foundation Environment Stopped Working

I noticed this afternoon that my Bluemix IoT Application was in the 'Unknown' state. When I mined into the app to see what the problem could be, I got the following pop-up:
App staging failed in the buildpack compile phase
I haven't made any changes to my NodeRED flows in months, and if I spin up a new IOT Foundation app, it starts just fine.
Any ideas on what is going on here?
A recent update to the underlying application stack has caused an incompatibility with older versions of the IoTF boilerplate.
The fix is to edit your application's package.json file and remove the 'mqlight' entry under the dependencies section. New instances of the boilerplate already have this entry removed - hence why they work.
Perhaps check the bluemix server status at https://developer.ibm.com/bluemix/support/#status
There were some issues reported around scheduled maintenance. There are also buildpack updates scheduled.

The latest application is not deployed in wso2cloud

It seems to me like the latest code that I submitted to WSO2 App cloud is not deployed. I tried to access the jenkins server (https://jenkins.cloud.wso2.com/t/cleancoders/webapps/jenkins/job/draft-trunk-default/) I see there that the latest code is built(upto build 29) but on the App cloud still build 24 is deployed. It seems to like the jenkins builds are not synced and deployed.
I also tried to build and deploy manually but It seems that it is not having an effect.
Please suggest what should be done in order to deploy the latest build.
Thanks in advance.
This is a kind of problem which you can get when your app is not properly deployed in jenkins. (There may be configuration issues). Please do contact cloud#wso2.com for assistance.