You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes you need different Logfire configurations for different parts of your application. You can do this with [`logfire.configure(local=True, ...)`][logfire.configure(local)].
2
+
3
+
For example, here's how to disable console logging for database operations while keeping it enabled for other parts:
4
+
5
+
```python
6
+
import logfire
7
+
8
+
# Global configuration is the default and should generally only be done once:
9
+
logfire.configure()
10
+
11
+
# Locally configured instance without console logging
0 commit comments