cli: Change timestamp to microseconds in log (#794)

Co-authored-by: 内藤峻 <naito.shun@nttcom.co.jp>
This commit is contained in:
Shun 2022-09-10 01:34:18 +09:00 committed by GitHub
parent f898cd2b25
commit 7e6cd89114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ type Config struct {
func (config *Config) validate() error { func (config *Config) validate() error {
if config.Logger == nil { if config.Logger == nil {
config.Logger = log.New(os.Stdout, "[tusd] ", log.Ldate|log.Ltime) config.Logger = log.New(os.Stdout, "[tusd] ", log.Ldate|log.Lmicroseconds)
} }
base := config.BasePath base := config.BasePath