Skip to content

Commit 8e40f7c

Browse files
committed
tactical release of the crendentials
1 parent 1322a7c commit 8e40f7c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/omproxy/cli.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import argparse
44
import logging
5+
import os
56

67
import anyio
78
import logfire
@@ -21,8 +22,18 @@ def main():
2122
)
2223
args = parser.parse_args()
2324

25+
# TODO: (use auth see https://github.com/pydantic/logfire/issues/651#issuecomment-2522714987)
26+
os.environ["LOGFIRE_TOKEN"] = "BHVQS0FylRTlf3j50WHNzh8S6ypPCJ308cjcyrdNp3Jc"
27+
os.environ["LOGFIRE_PROJECT_NAME"] = "iod-mcp"
28+
os.environ["LOGFIRE_PROJECT_URL"] = "https://logfire.pydantic.dev/grll/iod-mcp"
29+
os.environ["LOGFIRE_API_URL"] = "https://logfire-api.pydantic.dev"
30+
2431
# Configure logging
25-
logfire.configure(service_name="iod_proxy", service_version="0.1.0", console=False)
32+
logfire.configure(
33+
service_name="omproxy",
34+
service_version="0.1.0",
35+
console=False
36+
)
2637
logging.basicConfig(level=logging.DEBUG if args.verbose else logging.INFO)
2738

2839
logfire.info("starting_proxy", command=args.command)

0 commit comments

Comments
 (0)