caddy/cmd
Indra Gunawan 5f52c564a4
cmd: unbuffer default logger on startup failure (#8180)
* cmd: unbuffer default logger on startup failure

Restore default logger to unbuffered console logger on cmdRun error so WrapCommandFuncForCobra can output the error.

* add regression tests

(cherry picked from commit d588d5c8f0)
2026-11-03 00:53:04 -05:00
..
caddy core: Embed `time/tzdata` (#7432) 2026-01-13 15:11:35 -07:00
cobra.go cmd: colored error message in WrapCommandFuncForCobra (#7760) (#7768) 2026-06-04 21:41:35 -04:00
commandfactory.go cmd: Use a factory to create the caddy root command (#6533) 2024-08-22 03:29:42 +00:00
commandfuncs.go cmd: unbuffer default logger on startup failure (#8180) 2026-11-03 00:53:04 -05:00
commands.go chore: clean up wording and typo fixes (#7745) 2026-05-20 16:36:30 +10:00
commands_test.go cmd: unbuffer default logger on startup failure (#8180) 2026-11-03 00:53:04 -05:00
main.go build: bump all dependencies - (Go 1.26 floor) (#8056) 2026-09-30 10:54:12 -06:00
main_test.go cmd: support caddy start on IPv6-only hosts (#7744) 2026-05-20 10:17:34 -04:00
packagesfuncs.go fix: require module path boundaries when matching packages (#7957) 2026-09-13 12:08:09 +10:00
packagesfuncs_split_test.go cmd: make splitModule strictly conform to Go module spec (#7974) 2026-09-03 07:43:34 +10:00
packagesfuncs_test.go fix: require module path boundaries when matching packages (#7957) 2026-09-13 12:08:09 +10:00
removebinary.go
…
removebinary_windows.go
…
storagefuncs.go build: bump all dependencies - (Go 1.26 floor) (#8056) 2026-09-30 10:54:12 -06:00
x509rootsfallback.go
…