mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 07:33:21 +00:00
Report data directory on startup
This commit is contained in:
parent
20f167f7b4
commit
4d04351ac9
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
@ -81,6 +81,7 @@ func runRoot(cmd *cobra.Command, args []string) error {
|
|||
log.SetFlags(0)
|
||||
|
||||
log.Printf("rest-server %s compiled with %v on %v/%v\n", version, runtime.Version(), runtime.GOOS, runtime.GOARCH)
|
||||
log.Printf("Data directory: %s", config.path)
|
||||
|
||||
if config.cpuprofile != "" {
|
||||
f, err := os.Create(config.cpuprofile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue