I'm just getting started, how should I isolate logs from dev / production #2481
Answered
by
mloskot
johnsturgeon
asked this question in
Help
-
|
I am just getting started with Seq and I was curious what the best practice is for logging from my app when in development / production (or testing, or any other environment). Should I create separate workspaces for each env? should i 'tag' the logs somehow? FWIW, this is a FastAPI app (python). Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
mloskot
Sep 7, 2025
Replies: 1 comment 1 reply
-
|
Simplest solution, to start with, is to use distinct API keys, each set with properties like |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
johnsturgeon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simplest solution, to start with, is to use distinct API keys, each set with properties like
env=dev|prdandapp=abc|xyz|...etc.Then, logs can be easily filtered with queries using the properites.