Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log info, warn in ApmService, how to save more than one level in apm service #1346

Open
wellbarea opened this issue Mar 4, 2023 · 3 comments

Comments

@wellbarea
Copy link

Hello!!
I would like to know if we have the possibility to save more than one level with apmservice because it only captures errors

I would like to know if we have the possibility to save our console.logs in elastic and view them in kibana

@kyungeunni
Copy link
Contributor

Hi @wellbarea!
Thanks for your interest in our rum agent.

Unfortunately, the RUM agent doesn't support storing browser logs at the moment but only errors.
We let you know once this is prioritized.

Thanks,
Kyungeun

@gjelenc
Copy link

gjelenc commented Mar 6, 2024

Any news on this issue ?

@fredrik-j-lindberg
Copy link

fredrik-j-lindberg commented Mar 6, 2024

Also chiming in that this is something that have been heavily requested at the org I work at. We would love to have the capability of logging other levels than error, although I am not entirely sure if I think that all browser logs should be captured automatically. I wouldn't mind having it be a very explicit call to the sdk when we actually want to send logs to elastic

Meaning for example that native console.info is still ignored but apm.logger.info is captured, if that makes sense. Then it can be up to us if we want to log something to elastic, the browser console, or both

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants