feat: remove env log
This commit is contained in:
parent
50b45df50b
commit
1fe7e13c2c
|
@ -14,10 +14,6 @@ func Run(conf conf.Conf) error {
|
||||||
if conf.SkipTeapot {
|
if conf.SkipTeapot {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
for _, env := range os.Environ() {
|
|
||||||
pair := strings.SplitN(env, "=", 2)
|
|
||||||
slog.Info("env", "key", pair[0], "value", pair[1])
|
|
||||||
}
|
|
||||||
os.Setenv("LOG_FILE_PATH", "/home/tt/.cache/joint-teapot-debug.log")
|
os.Setenv("LOG_FILE_PATH", "/home/tt/.cache/joint-teapot-debug.log")
|
||||||
os.Setenv("_TYPER_STANDARD_TRACEBACK", "1")
|
os.Setenv("_TYPER_STANDARD_TRACEBACK", "1")
|
||||||
envFilePath := "/home/tt/.config/teapot/teapot.env"
|
envFilePath := "/home/tt/.config/teapot/teapot.env"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user