databricks-cli/cmd
Pieter Noordhuis 1b47dd3af7
Trim log source field to basename of file (#273)
This makes logs more readable and avoids leaking paths.

Before:
```
time=2023-03-22T16:38:30.238+01:00 level=INFO source=/Users/pieter.noordhuis/dev/bricks/bundle/phases/phase.go:30 msg="Phase: initialize"
time=2023-03-22T16:38:31.303+01:00 level=INFO source=/Users/pieter.noordhuis/dev/bricks/bundle/phases/phase.go:30 msg="Phase: build"
time=2023-03-22T16:38:31.303+01:00 level=INFO source=/Users/pieter.noordhuis/dev/bricks/bundle/phases/phase.go:30 msg="Phase: deploy"
```

After:
```
time=2023-03-22T17:02:47.290+01:00 level=INFO source=phase.go:30 msg="Phase: initialize"
time=2023-03-22T17:02:48.171+01:00 level=INFO source=phase.go:30 msg="Phase: build"
time=2023-03-22T17:02:48.171+01:00 level=INFO source=phase.go:30 msg="Phase: deploy"
```
2023-03-23 08:56:39 +01:00
..
api Update databricks-sdk-go to latest (#102) 2022-11-24 21:41:57 +01:00
auth bricks auth profiles tweaks (#178) 2023-01-24 15:54:28 +01:00
bundle Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
configure Run unit tests on windows and macos (#103) 2022-11-28 11:34:25 +01:00
fs Store project object in context.Context instead of global (#61) 2022-09-16 11:06:58 +02:00
init Add environments to project configuration (#68) 2022-09-22 13:40:11 +02:00
prompt Store project object in context.Context instead of global (#61) 2022-09-16 11:06:58 +02:00
root Trim log source field to basename of file (#273) 2023-03-23 08:56:39 +01:00
sync Drain sync event channel before returning (#253) 2023-03-16 17:48:17 +01:00
version Include build information and add version command (#194) 2023-02-03 15:38:53 +01:00