We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e060ebf commit f50219fCopy full SHA for f50219f
src/omproxy/cli.py
@@ -7,7 +7,8 @@
7
import anyio
8
import logfire
9
10
-from .proxy import Proxy
+from omproxy import __version__
11
+from omproxy.proxy import Proxy
12
13
14
def main():
@@ -29,7 +30,9 @@ def main():
29
30
os.environ["LOGFIRE_API_URL"] = "https://logfire-api.pydantic.dev"
31
32
# Configure logging
- logfire.configure(service_name="omproxy", service_version="0.1.0", console=False)
33
+ logfire.configure(
34
+ service_name="omproxy", service_version=__version__, console=False
35
+ )
36
logging.basicConfig(level=logging.DEBUG if args.verbose else logging.INFO)
37
38
logfire.info("starting_proxy", command=args.command)
0 commit comments