app: switch a couple of Info statements to Debug
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
18adb45692
commit
38f72825e0
@ -45,7 +45,7 @@ func (a *App) Init(s *settings.Settings, logger *slogging.Logger, dbclient *ent.
|
||||
|
||||
a.Logger().Infof("app version: %s", a.setting.Version())
|
||||
|
||||
a.Logger().Info("saving db connection string")
|
||||
a.Logger().Debug("saving db client object")
|
||||
a.db = dbclient
|
||||
|
||||
if a.templatesPath == "" {
|
||||
@ -85,11 +85,11 @@ func (a *App) Logger() *slogging.Logger {
|
||||
func (a *App) PrintConfiguration() {
|
||||
if a.setting != nil {
|
||||
if a.setting.IsLive() {
|
||||
a.Logger().Info("app config: live mode enabled")
|
||||
a.Logger().Debug("app config: live mode enabled")
|
||||
}
|
||||
|
||||
if a.setting.IsDevel() {
|
||||
a.Logger().Info("app config: devel mode enabled - make sure that browser-sync is running")
|
||||
a.Logger().Debug("app config: devel mode enabled - make sure that browser-sync is running")
|
||||
}
|
||||
|
||||
return
|
||||
@ -104,7 +104,7 @@ func (a *App) SetSettings(s *settings.Settings) {
|
||||
|
||||
// SetEmbeds saves the embedded files to application state.
|
||||
func (a *App) SetEmbeds(templates, assets embed.FS) {
|
||||
a.logger.Info("setting embeds")
|
||||
a.logger.Debug("saving embeds in app struct")
|
||||
a.embeds.templates = templates
|
||||
a.embeds.assets = assets
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user