Comments (3)
@PetrHeinz thanks for the reply. The proxy is a very good suggestion, I didn't know it was possible to configure the endpoint.
I understand closing the issue, changing the url would probably only be a temporary solution until someone catches on and adds it to a ublock list. It might be good to mention somewhere in the docs addblock might prevent logging.
from logtail-js.
Hello, thanks for opening the issue and posting a workaround 👍
Since preventing logging is one of Brave's features, I believe we won't be doing anything on our part to try to circumvent it. If you really want to ensure logs would get through, you can set up a proxy server and modify the endpoint
option:
const logger = new Logtail("source-token", { endpoint: "https://my-innocent-website/messages" })
And just a heads up, the default endpoint has changed from in.logtail.com
to in.logs.betterstack.com
in v0.4.11
, you should add it to your UBlock exception so you avoid debugging down the line in the future.
Since it's a feature of some privacy-centered browser, I'm closing the issue. I'm glad that the workaround is there for people to find easily 🙂
from logtail-js.
Thanks for the idea of mentioning it in the docs @michaelw85, makes sense. I added it to our JavaScript quick start guide.
from logtail-js.
Related Issues (20)
- Handle circular reference stringifying HOT 4
- Version 0.3.0 break lib. HOT 2
- Add data scrubbing for sensitive fields HOT 1
- Uncaught ReferenceError: process is not defined HOT 1
- Cannot find module '@babel/generator' HOT 2
- Question: API query helper HOT 1
- Connection error throws and breaks execution HOT 5
- Invalid peer dependency specified in logtail/winston package HOT 2
- Unauthorized error on logs HOT 4
- Error logging with 0.4.0 HOT 3
- `await logtail.flush()` hangs (does not properly resolve) in v0.4.0 HOT 3
- support for edge environments (Cloudflare Workers, Vercel Serverless, etc) HOT 7
- feature request: sourcemap support HOT 2
- Add ability to color log outputs HOT 6
- How to override behavior for localhost HOT 4
- MaxListenersExceededWarning: Possible EventEmitter memory leak detected. HOT 4
- Logtail fails gh-action workflows on a javascript boilerplate HOT 3
- Disable @logtail/edge's warning about missing executionCtx when the runtime is not Cloudflare HOT 5
- Improve `context.runtime.file` when `logtail` is called indirectly HOT 4
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 logtail-js.