feat: remove env log

This commit is contained in:
张泊明518370910136 2024-10-07 02:46:44 -04:00
parent 50b45df50b
commit 1fe7e13c2c
GPG Key ID: D47306D7062CDA9D

View File

@ -14,10 +14,6 @@ func Run(conf conf.Conf) error {
if conf.SkipTeapot {
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("_TYPER_STANDARD_TRACEBACK", "1")
envFilePath := "/home/tt/.config/teapot/teapot.env"