DB 시간포멧 수정. access log 추가

This commit is contained in:
Lectom C Han
2025-12-10 11:53:48 +09:00
parent c1af8f1b61
commit 02a9734961
5 changed files with 127 additions and 6 deletions

View File

@@ -69,11 +69,12 @@ func NewMySQLConfigFromEnv() (MySQLConfig, error) {
}
func NewPathsFromEnv() (Paths, error) {
schema := env("USER_PROGRAM_INFO_SCHEMA", env("POSTGRES_SCHEMA", DefaultSchema))
paths := Paths{
UpdateDir: env("USER_PROGRAM_UPDATE_DIR", DefaultUpdateDir),
LogDir: env("USER_PROGRAM_IMPORT_LOG_DIR", DefaultLogDir),
InitialCSV: env("USER_PROGRAM_INFO_CSV", DefaultInitialCSV),
Schema: env("USER_PROGRAM_INFO_SCHEMA", DefaultSchema),
Schema: schema,
}
for _, dir := range []string{paths.UpdateDir, paths.LogDir} {