mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-15 16:51:03 +00:00
replace "Pilosa starting..." log line
This commit is contained in:
parent
b1eb137a20
commit
b363debd83
1 changed files with 6 additions and 0 deletions
|
|
@ -159,6 +159,12 @@ func (m *Command) SetupServer() error {
|
|||
return errors.Wrap(err, "setting up logger")
|
||||
}
|
||||
|
||||
productName := "Pilosa"
|
||||
if pilosa.EnterpriseEnabled {
|
||||
productName += " Enterprise"
|
||||
}
|
||||
m.logger.Printf("%s %s, build time %s\n", productName, pilosa.Version, pilosa.BuildTime)
|
||||
|
||||
handler := pilosa.NewHandler()
|
||||
handler.Logger = m.logger
|
||||
handler.FileSystem = &statik.FileSystem{}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue