rebrand initial log message (#1922)

This commit is contained in:
Alessandro Ros 2023-06-07 12:25:16 +02:00 committed by GitHub
parent 083151360e
commit 4dd518cbb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ var cli struct {
// New allocates a core.
func New(args []string) (*Core, bool) {
parser, err := kong.New(&cli,
kong.Description("MediaMTX / rtsp-simple-server "+version),
kong.Description("MediaMTX "+version),
kong.UsageOnError(),
kong.ValueFormatter(func(value *kong.Value) string {
switch value.Name {
@ -198,7 +198,7 @@ func (p *Core) createResources(initial bool) error {
}
if initial {
p.Log(logger.Info, "MediaMTX / rtsp-simple-server %s", version)
p.Log(logger.Info, "MediaMTX %s", version)
if !p.confFound {
p.Log(logger.Warn, "configuration file not found, using an empty configuration")
}