cli: Change timestamp to microseconds in log (#794)
Co-authored-by: 内藤峻 <naito.shun@nttcom.co.jp>
This commit is contained in:
parent
f898cd2b25
commit
7e6cd89114
|
@ -59,7 +59,7 @@ type Config struct {
|
|||
|
||||
func (config *Config) validate() error {
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue