Comments (1)
@Vandivier thanks for the feedback!
The easiest way to silence all the debug logs is adding the following code:
// blitz-server.ts
RpcServerPlugin({
logging: {
disablelevel: "debug",
},
}),
//[[..blitz].ts
export default api(
rpcHandler({
logging: {
disablelevel: "debug",
},
}),
)
I am looking to improve this API to make it more straightforward and follow the conventions of other logging solutions, so we would soon have more control over the logging.
from blitz.
Related Issues (20)
- BlitzCliConfig does not work when blitz-server.ts is in /src/app directory HOT 1
- Unable to commit due to husky pre-commit hook missing prettier module HOT 1
- Blitz generate should provide functioning forms for a better scaffolding experience. HOT 2
- Support Bun runtime HOT 6
- ajv dependency was not installed with blitz new HOT 5
- support prisma extensions HOT 5
- Module not found: Can't resolve 'ajv/dist/compile/codegen' HOT 1
- BlitzServerMiddleware types are incorrect HOT 2
- Error Building Blitz in Cloudflare HOT 3
- deploy failed on vercel HOT 15
- Cannot find module 'next/dist/client/resolve-href' HOT 1
- BLITZ_PUBLIC_ prefix does not expose env to client HOT 2
- BlitzRoutes: Support app router HOT 4
- Windows Compatibility Issue: process.kill("SIGABRT") not supported HOT 5
- useAuthenticatedBlitzContext fails on vercel HOT 8
- getBlitzContext unusable in api HOT 2
- getBlitzContext() can't be use in edge funcion HOT 2
- nextjs (app router) fails on vercel HOT 1
- v2.0.7 `pnpm blitz dev --turbo` error with Invalid next.config.js options HOT 2
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 blitz.